File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: Build
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - master
5
+ branches : [master]
7
6
pull_request : {}
8
7
merge_group : {}
9
8
41
40
git fetch --unshallow
42
41
make -j2 duke3d sw blood rr exhumed kenbuild tools SDLCONFIG= ${{matrix.opt}}
43
42
- name : prepare artifacts
43
+ if : github.ref == 'refs/heads/master'
44
44
run : |
45
45
mkdir -p upload/nblood/
46
46
mkdir -p upload/rednukem/
49
49
cp rednukem.exe upload/rednukem/
50
50
cp pcexhumed.exe upload/pcexhumed/
51
51
- uses : actions/upload-artifact@v2
52
+ if : github.ref == 'refs/heads/master'
52
53
with :
53
54
name : ${{matrix.label}}
54
55
path : upload/
Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ name: Publish
2
2
3
3
# Only trigger, when the build workflow succeeded
4
4
on :
5
- workflow_dispatch :
6
5
workflow_run :
7
6
workflows : [Build]
8
- types :
9
- - completed
7
+ types : [completed]
8
+ branches : [master]
10
9
11
10
jobs :
12
11
release :
You can’t perform that action at this time.
0 commit comments