1.0.0 • Published 8 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-cachepackage as a developer dependency:npm install --save-dev @slvssb/eas-github-cacheConfigure your Expo project:
- Open
app.json. - Update the
remoteBuildCacheblock under theexpokey:
{ "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
repoto a separate GitHub project or private repo and update therepooption inremoteBuildCache.
1.0.0
8 months ago