Skip to content

Commit

Permalink
Update Android build script.
Browse files Browse the repository at this point in the history
- TEMP change to onPush
- Add authentication
  • Loading branch information
jessgusclark committed May 24, 2023
1 parent 858ccac commit c9d3917
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: Android Build SDK

on:
release:
on: push

jobs:
install-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up NPM authentication
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PACKAGES_KEY }}" >> ~/.npmrc

- name: Install dependencies
run: |
yarn
Expand All @@ -17,7 +20,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
- name: Set up NPM authentication
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PACKAGES_KEY }}" >> ~/.npmrc

- name: Install dependencies, test and lint
run: |
yarn
yarn ganache &
Expand Down

0 comments on commit c9d3917

Please sign in to comment.