Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ci: update workflow

ammarahm-ed19e2d59a04c3
diff --git a/apps/mobile/.github/workflows/android-release.yml b/apps/mobile/.github/workflows/android-release.yml
index 88bb00b79..df4677bde 100644
--- a/apps/mobile/.github/workflows/android-release.yml
+++ b/apps/mobile/.github/workflows/android-release.yml
@@ -1,5 +1,9 @@
name: Android Release
+permissions:
+ packages: read
+ contents: read
+
on: workflow_dispatch
jobs:
@@ -13,6 +17,15 @@ jobs:
with:
persist-credentials: false
+ - name: Setup npmrc
+ run: |
+ echo "registry=https://npm.pkg.github.com" > .npmrc
+ echo "@streetwriters:registry=https://npm.pkg.github.com" >> .npmrc
+ echo "//npm.pkg.github.com/:_authToken=${{secrets.PACKAGES_TOKEN}}" >> .npmrc
+
+ - name: Setup yarnrc
+ run: echo "\"@streetwriters:registry\" \"https://npm.pkg.github.com\"" > .yarnrc
+
- uses: actions/setup-node@master
with:
node-version: '16'