Separate android into its own job

This commit is contained in:
Ivan Malison 2024-02-03 21:48:05 -07:00
parent 2e75f784dd
commit 18ec4bf9f1
2 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1,11 @@
on:
push:
branches:
- master
jobs:
build:
name: Install
runs-on: nixos-x86_64-linux
steps:
- name: android-build
run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; export HOME=$PWD; cd android; ./gradlew assembleDebug'

View File

@ -1,7 +1,6 @@
name: Tests
on:
pull_request:
env:
NIXPKGS_ALLOW_UNFREE: 1
@ -27,5 +26,3 @@ jobs:
run: nix develop --impure --command bash -c 'export HOME=$PWD; prettier . --check'
- name: test
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run test --no-watchman'
- name: android-build
run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; cd android; ./gradlew assembleDebug'