Skip to content

Commit b85c369

Browse files
fixing phar build
1 parent 3fe33b1 commit b85c369

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/build-phar.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ on:
44
push:
55
branches:
66
- master
7+
tags:
8+
- '*'
79
release:
810
types:
911
- published
10-
12+
- created
13+
1114
jobs:
1215
create_phar:
1316
runs-on: ubuntu-latest
@@ -43,7 +46,9 @@ jobs:
4346
run: ./bin-stub/box.phar build -c ./box.json
4447

4548
- name: "Upload phar file artifact"
46-
uses: actions/upload-artifact@v2
47-
with:
48-
name: phparkitect.phar
49-
path: phparkitect.phar
49+
uses: actions/upload-artifact@v2
50+
with:
51+
name: phparkitect.phar
52+
path: phparkitect.phar
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)