mirror of https://github.com/smithy-lang/smithy-rs
Fix trigger for following jobs. (#2282)
This commit is contained in:
parent
2695c7cffb
commit
1b87953483
|
@ -103,6 +103,12 @@ jobs:
|
|||
name: Upgrade gradle.properties
|
||||
needs:
|
||||
- get-or-create-release-branch
|
||||
# See https://github.com/actions/runner/issues/2205#issuecomment-1381988186 for an explanation as to why
|
||||
# we need this here _even though_ the job we depend on is never skipped.
|
||||
if: |
|
||||
always() &&
|
||||
!contains(needs.*.result, 'failure') &&
|
||||
!contains(needs.*.result, 'cancelled')
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
commit_sha: ${{ steps.gradle-push.outputs.commit_sha }}
|
||||
|
@ -135,6 +141,12 @@ jobs:
|
|||
name: Release
|
||||
needs:
|
||||
- upgrade-gradle-properties
|
||||
# See https://github.com/actions/runner/issues/2205#issuecomment-1381988186 for an explanation as to why
|
||||
# we need this here _even though_ the job we depend on is never skipped.
|
||||
if: |
|
||||
always() &&
|
||||
!contains(needs.*.result, 'failure') &&
|
||||
!contains(needs.*.result, 'cancelled')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Rust
|
||||
|
|
Loading…
Reference in New Issue