Added nightly executables

This commit is contained in:
James Titcumb
2025-12-22 14:18:46 +00:00
parent 866fdc4deb
commit f7f8c570be
2 changed files with 31 additions and 2 deletions

View File

@@ -40,12 +40,22 @@ jobs:
uses: actions/download-artifact@v6
with:
name: pie-${{ github.sha }}.phar
- name: Verify the PHAR
- name: Fetch the executable PIEs from artifacts
uses: actions/download-artifact@v5
with:
path: executable-pie-binaries
pattern: pie-${{ github.sha }}-*.bin
merge-multiple: true
- name: Verify the PHAR and binaries
env:
GH_TOKEN: ${{ github.token }}
run: gh attestation verify pie.phar --repo ${{ github.repository }}
run: |
gh attestation verify pie.phar --repo ${{ github.repository }} ;
find executable-pie-binaries -type f -exec gh attestation verify {} --repo ${{ github.repository }} \;
- name: Copy PHAR into docs
run: cp pie.phar docs-package/pie-nightly.phar
- name: Copy executables into docs
run: cp executable-pie-binaries/* docs-package/
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:

View File

@@ -88,6 +88,25 @@ the time being. Please also note there are some limitations:
If you find the binary releases useful, please leave feedback or upvote on the
relevant discussions, so we can gauge interest in improving this functionality.
The "nightly" versions of these can be found here:
| Operating System | Architecture | Download URL |
|------------------|------------------|-----------------------------------------------|
| Linux | ARM 64 / aarch64 | https://php.github.io/pie/pie-Linux-ARM64 |
| Linux | amd64 / x86_64 | https://php.github.io/pie/pie-Linux-X64 |
| OS X | ARM 64 / aarch64 | https://php.github.io/pie/pie-macOS-ARM64 |
| OS X | Intel / x86_64 | https://php.github.io/pie/pie-macOS-X64 |
| Windows | x86_64 | https://php.github.io/pie/pie-Windows-X64.exe |
We *highly* recommend you verify the file came from the PHP GitHub repository
before running it, for example:
```shell
$ gh attestation verify --owner php pie-Linux-X64
$ chmod +x pie-Linux-X64
$ ./pie-Linux-X64 --version
```
## Prerequisites for PIE
Running PIE requires PHP 8.1 or newer. However, you may still use PIE to install