Skip to content

Commit 1becee7

Browse files
committed
Try fix push install
1 parent 4f0d987 commit 1becee7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,22 @@ jobs:
3939
- name: Run phpstan
4040
run: composer static
4141

42-
- name: Install with workshop-manager
42+
- name: Install with workshop-manager (PR)
43+
if: github.ref != 'refs/heads/master'
4344
run: |
4445
curl -O https://php-school.github.io/workshop-manager/workshop-manager.phar
4546
chmod +x workshop-manager.phar
4647
./workshop-manager.phar install php8appreciate ${{ github.head_ref }} ${{github.event.pull_request.head.repo.html_url}}
4748
./workshop-manager.phar installed
4849
50+
- name: Install with workshop-manager (push)
51+
if: github.ref == 'refs/heads/master'
52+
run: |
53+
curl -O https://php-school.github.io/workshop-manager/workshop-manager.phar
54+
chmod +x workshop-manager.phar
55+
./workshop-manager.phar install php8appreciate master
56+
./workshop-manager.phar installed
57+
4958
- name: Coverage upload
5059
if: matrix.php == '8.0'
5160
run: bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)