File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -30,28 +30,15 @@ jobs:
30
30
token : ${{ secrets.broker_jwt_e985d455_b0ff_470b_8731_e004fcfac915 }}
31
31
test :
32
32
name : Test
33
- if : ${{ ! startsWith(github.ref, 'refs/tags/v') }}
34
33
uses : ./.github/workflows/test.yaml
35
34
build-release :
36
35
name : Build and release
37
36
runs-on : ubuntu-latest
38
- needs : [check-token-expiration]
37
+ needs : [check-token-expiration, test ]
39
38
permissions :
40
39
contents : read
41
40
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
- }}
41
+ if : ${{ needs.test.result == 'success' }}
55
42
outputs :
56
43
project_version : ${{ steps.set-version.outputs.project_version }}
57
44
intention_id : ${{ steps.set-intention-id.outputs.intention_id }}
You can’t perform that action at this time.
0 commit comments