File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1919 permissions :
2020 contents : write
2121
22+ outputs :
23+ tag_name : ${{ steps.tag_check.outputs.tag_name }}
24+ version : ${{ steps.version_dart.outputs.version }}
25+
2226 steps :
2327 - name : Checkout code
2428 uses : actions/checkout@v4
@@ -186,6 +190,7 @@ jobs:
186190
187191 build_changelog_cli :
188192 needs : release
193+ if : ${{ !inputs.dry_run }}
189194 defaults :
190195 run :
191196 working-directory : changelog_cli
@@ -216,7 +221,8 @@ jobs:
216221 path : changelog_cli/build/${{ matrix.os }}/${{ matrix.binary-name }}
217222
218223 upload_artifacts :
219- needs : build_changelog_cli
224+ needs : [release, build_changelog_cli]
225+ if : ${{ !inputs.dry_run }}
220226 name : Upload Artifacts to GitHub Release
221227 runs-on : ubuntu-latest
222228 permissions :
@@ -242,5 +248,6 @@ jobs:
242248 - name : Upload artifacts to existing release
243249 uses : softprops/action-gh-release@v1
244250 with :
251+ tag_name : ${{ needs.release.outputs.tag_name }}
245252 files : bin-*/*
246253 draft : false # Publish the release after artifacts are uploaded
You can’t perform that action at this time.
0 commit comments