1.0.0 • Published 2 months ago
@slvssb/eas-github-cache v1.0.0
EAS Remote Build Cache Provider - GitHub
🚀 How to use
Create a GitHub Personal Access Token with repo permissions:
- Go to GitHub Settings › Developer settings › Personal access tokens.
- Click Generate new token, select the repo scope, and copy the token.
- Set it in your shell:
export GITHUB_TOKEN=YOUR_TOKEN_HERE
To use the EAS remote build provider plugin, install the
@slvssb/eas-github-cache
package as a developer dependency:npm install --save-dev @slvssb/eas-github-cache
Configure your Expo project:
- Open
app.json
. - Update the
remoteBuildCache
block under theexpo
key:
{ "expo": { ... "experiments": { "remoteBuildCache": { "provider": { "plugin": "@slvssb/eas-github-cache", "options": { "owner": "<YOUR_GITHUB_USERNAME>", "repo": "<YOUR_REPO_NAME>" } } } } } }
- Replace
<YOUR_GITHUB_USERNAME>
and<YOUR_REPO_NAME>
with your details.
- Open
Tip: If you’d rather not create prereleases in your main repository, point
repo
to a separate GitHub project or private repo and update therepo
option inremoteBuildCache
.
1.0.0
2 months ago