@@ -210,33 +210,15 @@ jobs:
210210 Write-Output "Number of packages pushed to GitHub: $pushedToGitHub"
211211 Write-Output "Number of packages pushed to Nuget.org: $pushedToNuget"
212212
213- dispatch-build :
214- name : Dispatch build result
215- needs : build
216- if : github.repository_owner == 'GeneXusLabs' && needs.build.outputs.SHOULD_DEPLOY == 'true'
217-
218- runs-on : ubuntu-latest
219-
213+ update-genexus-dependency :
220214 concurrency :
221215 group : build-${{ github.ref }}
222216 cancel-in-progress : true
223-
224- steps :
225- - name : Checkout action
226- uses : actions/checkout@v3
227- with :
228- repository : genexuslabs/dispatch-build-result
229- ref : releases/v2
230- token : ${{ secrets.SECURE_TOKEN }}
231- path : ./tmp/.github/actions/dispatch-build-result
232-
233- - name : Dispatch build result
234- uses : ./tmp/.github/actions/dispatch-build-result
235- with :
236- component-name : ${{ github.event.inputs.repository }}
237- branch-ref : ${{ env.GIT_REF }}
238- new-version : ${{ needs.build.outputs.NUGET_VERSION }}
239- committer : ${{ needs.build.outputs.LAST_COMMITTER }}
240- commit-message : ${{ needs.build.outputs.COMMIT_MESSAGE }}
241- token : ${{ secrets.SECURE_TOKEN }}
242-
217+ uses : genexuslabs/build-genexus-reusable-workflow/.github/workflows/update-genexus-dep-version.yml@main
218+ needs : build
219+ if : github.repository_owner == 'genexuslabs' && needs.build.outputs.SHOULD_DEPLOY == 'true'
220+ with :
221+ VERSION : ${{ needs.build.outputs.NUGET_VERSION }}
222+ COMMIT_MESSAGE : ${{ needs.build.outputs.COMMIT_MESSAGE }}
223+ COMMITTER : ${{ needs.build.outputs.LAST_COMMITTER }}
224+ secrets : inherit
0 commit comments