File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 54
54
uses : codecov/codecov-action@v3
55
55
with :
56
56
name : codecov-build
57
- fail_ci_if_error : true
57
+ fail_ci_if_error : false
58
58
59
59
- name : Upload build artifact
60
60
if : github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest'
Original file line number Diff line number Diff line change 1
1
name : release
2
2
3
3
on :
4
- push :
4
+ workflow_run :
5
+ workflows : [ build ]
6
+ types : [ completed ]
5
7
branches : [ main ]
6
8
7
9
permissions :
@@ -10,11 +12,13 @@ permissions:
10
12
jobs :
11
13
release :
12
14
runs-on : ubuntu-latest
15
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
13
16
steps :
14
17
- name : Checkout code
15
18
uses : actions/checkout@v3
16
19
with :
17
20
fetch-depth : 0
21
+ ref : ${{ github.event.workflow_run.head_branch }}
18
22
19
23
- name : Bump version
20
24
id : version
You can’t perform that action at this time.
0 commit comments