Skip to content

Commit 5befd34

Browse files
committed
Relese on push master or on tag.
1 parent bd2a669 commit 5befd34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- master
7+
tags:
8+
- 'v*.*.*'
79

810
jobs:
911
build:
@@ -37,10 +39,8 @@ jobs:
3739
run: |
3840
make
3941
mv beam-book-a4.pdf beam-book.pdf
40-
ls -al *.pdf
4142
4243
- name: Release PDF
43-
if: startsWith(github.ref, 'refs/tags/v')
4444
uses: softprops/action-gh-release@v2
4545
with:
4646
files: |

0 commit comments

Comments
 (0)