Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Only execute the build if all of the parts in build-rust are completed successfully
  • Loading branch information
Dwayne Pryce authored Nov 4, 2020
1 parent c80ec2a commit e842d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: "build-rust"
if: github.ref=='refs/heads/main' || github.ref=='refs/heads/dev'
if: (github.ref=='refs/heads/main' || github.ref=='refs/heads/dev') && steps.build-rust.outcome=='success'
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
Expand Down

0 comments on commit e842d53

Please sign in to comment.