Skip to content

Commit

Permalink
fix: fix append-release for cargo-dist 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Nov 29, 2023
1 parent 3b78c26 commit 55eeabf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/additional-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- completed

jobs:
# Check if we should actually run by looking for the should-publish job
# Check if we should actually run by looking for the host job
should-run:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
Expand All @@ -31,7 +31,7 @@ jobs:
run_id: context.payload.workflow_run.id,
});
for (const job of allRuns.data.jobs) {
if (job.name == "should-publish") {
if (job.name == "host") {
if (job.status == "completed" && job.conclusion == "success") {
return "run"
}
Expand Down

0 comments on commit 55eeabf

Please sign in to comment.