File tree Expand file tree Collapse file tree 4 files changed +51
-29
lines changed
Expand file tree Collapse file tree 4 files changed +51
-29
lines changed Original file line number Diff line number Diff line change 9696 - unit-tests
9797 - coding-standards
9898 - static-analysis
99- runs-on : ${{ matrix.operating-system }}
100- strategy :
101- matrix :
102- operating-system :
103- - ubuntu-latest
104- php-versions :
105- - ' 8.1'
106- steps :
107- - name : Setup PHP
108- uses : shivammathur/setup-php@v2
109- with :
110- coverage : none
111- tools : composer, box
112- php-version : " ${{ matrix.php-version }}"
113- - uses : actions/checkout@v4
114- with :
115- fetch-depth : 0
116- # Temporary until we have a first tag; Box needs at least one tag to exist!
117- - run : git describe --tags HEAD || git tag 0.0.0
118- - uses : ramsey/composer-install@v3
119- - name : Build PHAR
120- run : box compile
121- - name : Check the PHAR executes
122- run : php pie.phar --version
123- - uses : actions/upload-artifact@v4
124- with :
125- name : pie-${{ github.sha }}.phar
126- path : pie.phar
99+ uses : ./.github/workflows/release-unsigned-phar.yml
Original file line number Diff line number Diff line change @@ -21,14 +21,25 @@ concurrency:
2121 cancel-in-progress : false
2222
2323jobs :
24+ build-phar :
25+ uses : ./.github/workflows/release-unsigned-phar.yml
26+
2427 # Build job
2528 build :
2629 runs-on : ubuntu-latest
30+ needs :
31+ - build-phar
2732 steps :
2833 - name : Checkout
2934 uses : actions/checkout@v4
3035 - name : Build documentation
3136 run : .github/docs/build-docs.sh
37+ - name : Fetch built PHAR from artifacts
38+ uses : actions/download-artifact@v4
39+ with :
40+ name : pie-${{ github.sha }}.phar
41+ - name : Copy PHAR into docs
42+ run : cp pie.phar docs-package/pie-nightly.phar
3243 - name : Upload artifact
3344 uses : actions/upload-pages-artifact@v3
3445 with :
Original file line number Diff line number Diff line change 1+ name : " Release unsigned PHAR"
2+
3+ on :
4+ workflow_call :
5+
6+ jobs :
7+
8+ build-phar :
9+ runs-on : ${{ matrix.operating-system }}
10+ strategy :
11+ matrix :
12+ operating-system :
13+ - ubuntu-latest
14+ php-versions :
15+ - ' 8.1'
16+ steps :
17+ - name : Setup PHP
18+ uses : shivammathur/setup-php@v2
19+ with :
20+ coverage : none
21+ tools : composer, box
22+ php-version : " ${{ matrix.php-version }}"
23+ - uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+ # Temporary until we have a first tag; Box needs at least one tag to exist!
27+ - run : git describe --tags HEAD || git tag 0.0.0
28+ - uses : ramsey/composer-install@v3
29+ - name : Build PHAR
30+ run : box compile
31+ - name : Check the PHAR executes
32+ run : php pie.phar --version
33+ - uses : actions/upload-artifact@v4
34+ with :
35+ name : pie-${{ github.sha }}.phar
36+ path : pie.phar
Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ please read [extension-maintainers](./docs/extension-maintainers.md).
1010
1111### Manual installation
1212
13- - Download ` pie.phar ` from the [ latest releases] ( https://github.com/php/pie/releases )
13+ - Download ` pie.phar ` either:
14+ - [ latest stable release] ( https://github.com/php/pie/releases )
15+ - [ latest unstable nightly] ( https://php.github.io/pie/pie-nightly.phar )
1416- Validate the signature in ` pie.phar.asc `
1517- You may then invoke PIE with ` php pie.phar <command> `
1618
You can’t perform that action at this time.
0 commit comments