Skip to content

Commit

Permalink
Update rust-stable-ubuntu-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HYwooo authored Jan 9, 2025
1 parent 1a57f3b commit d198f32
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust-stable-ubuntu-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ env:


jobs:
build:
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The triggering workflow failed.'
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: read
packages: write
Expand Down

0 comments on commit d198f32

Please sign in to comment.