Merge pull request 'Fix android build' (#84) from ivan/fix-android-build into master

Reviewed-on: railbird/rn-playground#84
This commit is contained in:
Ivan Malison 2024-02-03 21:59:46 -07:00
commit 73334a7dd7

View File

@ -6,6 +6,14 @@ jobs:
build: build:
name: Install name: Install
runs-on: nixos-x86_64-linux runs-on: nixos-x86_64-linux
name: Build
steps: steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: install react-native-vision-camera
run: nix develop --impure --command bash -c 'export HOME=$PWD; cd ./react-native-vision-camera/package; yarn install'
- name: install
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn config set link-folder . && yarn install'
- name: android-build - name: android-build
run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; export HOME=$PWD; cd android; ./gradlew assembleDebug' run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; export HOME=$PWD; cd android; ./gradlew assembleDebug'