We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c490e5 commit fbe63deCopy full SHA for fbe63de
.github/workflows/build-release.yaml
@@ -35,10 +35,23 @@ jobs:
35
build-release:
36
name: Build and release
37
runs-on: ubuntu-latest
38
- needs: [check-token-expiration, test]
+ needs: [check-token-expiration]
39
permissions:
40
contents: read
41
packages: write
42
+ if: |
43
+ ${{
44
+ always() &&
45
+ (
46
+ github.event_name == 'release' ||
47
+ github.event_name == 'workflow_dispatch' ||
48
+ github.event_name == 'push' ||
49
+ github.event_name == 'pull_request'
50
+ ) &&
51
52
+ !needs.test.result || needs.test.result == 'success'
53
+ )
54
+ }}
55
outputs:
56
project_version: ${{ steps.set-version.outputs.project_version }}
57
intention_id: ${{ steps.set-intention-id.outputs.intention_id }}
0 commit comments