Skip to content

Add large files to GitHub packages#3318

Draft
zaerl wants to merge 1 commit intotrunkfrom
add/github-packages-binaries
Draft

Add large files to GitHub packages#3318
zaerl wants to merge 1 commit intotrunkfrom
add/github-packages-binaries

Conversation

@zaerl
Copy link
Collaborator

@zaerl zaerl commented Feb 27, 2026

New approach, from #3316.

Motivation for the change, related issues

Implementation details

Testing Instructions (or ideally a Blueprint)

run: |
set -euo pipefail
for platform in web node; do
for version in 7-4 8-0 8-1 8-2 8-3 8-4 8-5; do
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needed to be updated once a new PHP version is added or removed.

@@ -1,2 +1,3 @@
save-exact = true
engine-strict = true
@php-wasm-binaries:registry=https://npm.pkg.github.com
Copy link
Collaborator Author

@zaerl zaerl Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm only supports per-scope registry redirects, not per-package. Setting @php-wasm:registry=https://npm.pkg.github.com in .npmrc would redirect ALL @php-wasm/* packages away from npmjs.org. That's why we have this renaming @php-wasm/web-binaries-X-Y to @php-wasm-binaries/web-X-Y

done
done
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a new GITHUB token for this, or an existing one have specific permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant