@@ -86,24 +86,37 @@ jobs:
8686
8787 bump-ver :
8888 name : Bump versions
89- needs : [setup, build]
89+ needs : [setup, upload-github, upload-nuget]
90+ if : ${{ !failure() && !cancelled() }}
9091 runs-on : ubuntu-latest
9192
9293 permissions :
9394 contents : write
9495
9596 steps :
97+ - name : Authenticate as app
98+ uses : actions/create-github-app-token@v2
99+ id : app_tok
100+ with :
101+ app-id : ${{ vars.APP_ID }}
102+ private-key : ${{ secrets.APP_PRIVKEY }}
103+
96104 - name : Checkout
97105 uses : actions/checkout@v4
106+ with :
107+ token : ${{ steps.app_tok.outputs.token }} # checkout using the app token so we can push directly to the repo head
108+ lfs : true
109+ submodules : true
98110
99- # first, make release/tag
100111 - name : Download compiled packages
101112 uses : actions/download-artifact@v4
102113 with :
103114 name : packages
104115 path : artifacts/package/release/
105116 github-token : ${{ github.token }}
106117 run-id : ${{ github.run_id }}
118+
119+ # first, make release/tag
107120 - name : Create release
108121 uses : softprops/action-gh-release@v2
109122 if : ' !inputs.dryrun'
@@ -142,9 +155,11 @@ jobs:
142155 if : ' !inputs.prerelease'
143156 uses : EndBug/add-and-commit@v9
144157 with :
145- add : Version.props
146- message : " [BOT]: Bump version after ${{ needs.setup.outputs.ver }}"
147- committer_name : GitHub Actions
148- committer_email : 41898282+github-actions[bot]@users.noreply.github.com
149- push : ${{ !inputs.dryrun }}
158+ message : |
159+ [BOT]: Bump version after ${{ needs.setup.outputs.ver }} release
160+
161+ [skip-ci]
162+ default_author : github_actions
163+ push : ${{ !inputs.dryrun && 'origin --force --set-upstream' || 'false' }}
150164 pathspec_error_handling : exitAtEnd
165+
0 commit comments