Skip to content

Commit 02e1f27

Browse files
fix conditional job
1 parent b9bda69 commit 02e1f27

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Diff for: .github/actions/compress_sign_and_upload/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ runs:
4141
run: gh release upload v${{ steps.get_vars.outputs.package_version }} ${{ steps.get_vars.outputs.package_file }}.sig
4242
shell: bash
4343
env:
44-
GH_TOKEN: ${{ github.token }}
44+
GH_TOKEN: ${{ github.token }}

Diff for: .github/workflows/release-5.x.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323

2424
compress-sign-and-upload:
2525
needs: [release_please]
26+
if: ${{ needs.release_please.outputs.release_created }}
2627
runs-on: ubuntu-latest
2728
steps:
2829
- uses: actions/checkout@v4

Diff for: .github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
compress_sign_and_upload:
2323
needs: [release_please]
24+
if: ${{ needs.release_please.outputs.release_created }}
2425
runs-on: ubuntu-latest
2526
steps:
2627
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)