Skip to content

Commit 4019755

Browse files
committed
Switch things around
1 parent 1c8b236 commit 4019755

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

.github/workflows/phar.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ jobs:
5353
working-directory: "compiler"
5454
run: "php bin/prepare"
5555

56+
- name: "Compile PHAR"
57+
working-directory: "compiler/build"
58+
run: "php box.phar compile --no-parallel"
59+
60+
- name: "Run PHAR"
61+
working-directory: "compiler"
62+
run: "../tmp/phpstan.phar list"
63+
64+
- uses: actions/upload-artifact@v2
65+
with:
66+
name: phar-file
67+
path: tmp/phpstan.phar
68+
69+
- name: "Delete PHAR"
70+
run: "rm tmp/phpstan.phar"
71+
5672
- name: "Set autoloader suffix"
5773
run: "composer config autoloader-suffix PHPStanChecksum"
5874

@@ -72,19 +88,6 @@ jobs:
7288
- name: "Delete checksum PHAR"
7389
run: "rm tmp/phpstan.phar"
7490

75-
- name: "Compile PHAR"
76-
working-directory: "compiler/build"
77-
run: "php box.phar compile --no-parallel"
78-
79-
- name: "Run PHAR"
80-
working-directory: "compiler"
81-
run: "../tmp/phpstan.phar list"
82-
83-
- uses: actions/upload-artifact@v2
84-
with:
85-
name: phar-file
86-
path: tmp/phpstan.phar
87-
8891
integration-tests:
8992
if: github.event_name == 'pull_request'
9093
needs: compiler-tests

0 commit comments

Comments
 (0)