Skip to content

Commit f7f8c57

Browse files
committed
Added nightly executables
1 parent 866fdc4 commit f7f8c57

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

.github/workflows/docs.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff 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:

docs/usage.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,25 @@ the time being. Please also note there are some limitations:
8888
If you find the binary releases useful, please leave feedback or upvote on the
8989
relevant 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

93112
Running PIE requires PHP 8.1 or newer. However, you may still use PIE to install

0 commit comments

Comments
 (0)