File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,22 @@ jobs:
39
39
- name : Run phpstan
40
40
run : composer static
41
41
42
- - name : Install with workshop-manager
42
+ - name : Install with workshop-manager (PR)
43
+ if : github.ref != 'refs/heads/master'
43
44
run : |
44
45
curl -O https://php-school.github.io/workshop-manager/workshop-manager.phar
45
46
chmod +x workshop-manager.phar
46
47
./workshop-manager.phar install php8appreciate ${{ github.head_ref }} ${{github.event.pull_request.head.repo.html_url}}
47
48
./workshop-manager.phar installed
48
49
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
+
49
58
- name : Coverage upload
50
59
if : matrix.php == '8.0'
51
60
run : bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments