File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed
Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,22 @@ jobs:
4040 uses : actions/download-artifact@v6
4141 with :
4242 name : pie-${{ github.sha }}.phar
43- - name : Verify the PHAR
43+ - name : Fetch the executable PIEs from artifacts
44+ uses : actions/download-artifact@v5
45+ with :
46+ path : executable-pie-binaries
47+ pattern : pie-${{ github.sha }}-*.bin
48+ merge-multiple : true
49+ - name : Verify the PHAR and binaries
4450 env :
4551 GH_TOKEN : ${{ github.token }}
46- run : gh attestation verify pie.phar --repo ${{ github.repository }}
52+ run : |
53+ gh attestation verify pie.phar --repo ${{ github.repository }} ;
54+ find executable-pie-binaries -type f -exec gh attestation verify {} --repo ${{ github.repository }} \;
4755 - name : Copy PHAR into docs
4856 run : cp pie.phar docs-package/pie-nightly.phar
57+ - name : Copy executables into docs
58+ run : cp executable-pie-binaries/* docs-package/
4959 - name : Upload artifact
5060 uses : actions/upload-pages-artifact@v4
5161 with :
Original file line number Diff line number Diff line change @@ -88,6 +88,25 @@ the time being. Please also note there are some limitations:
8888If you find the binary releases useful, please leave feedback or upvote on the
8989relevant discussions, so we can gauge interest in improving this functionality.
9090
91+ The "nightly" versions of these can be found here:
92+
93+ | Operating System | Architecture | Download URL |
94+ | ------------------| ------------------| -----------------------------------------------|
95+ | Linux | ARM 64 / aarch64 | https://php.github.io/pie/pie-Linux-ARM64 |
96+ | Linux | amd64 / x86_64 | https://php.github.io/pie/pie-Linux-X64 |
97+ | OS X | ARM 64 / aarch64 | https://php.github.io/pie/pie-macOS-ARM64 |
98+ | OS X | Intel / x86_64 | https://php.github.io/pie/pie-macOS-X64 |
99+ | Windows | x86_64 | https://php.github.io/pie/pie-Windows-X64.exe |
100+
101+ We * highly* recommend you verify the file came from the PHP GitHub repository
102+ before running it, for example:
103+
104+ ``` shell
105+ $ gh attestation verify --owner php pie-Linux-X64
106+ $ chmod +x pie-Linux-X64
107+ $ ./pie-Linux-X64 --version
108+ ```
109+
91110## Prerequisites for PIE
92111
93112Running PIE requires PHP 8.1 or newer. However, you may still use PIE to install
You can’t perform that action at this time.
0 commit comments