Skip to content

Commit

Permalink
Remove Detox build caching step and add new Detox scripts for Android…
Browse files Browse the repository at this point in the history
… debug and release builds
  • Loading branch information
lposen committed Oct 17, 2024
1 parent 713693d commit c57526f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
# tool-cache: true
android: false

- name: Setup
Expand All @@ -24,30 +24,30 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
cache: gradle
# cache: gradle
distribution: zulu
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
cache-read-only: false
# cache-read-only: false

- name: Example App Yarn install
run: |
cd example
yarn install --immutable
cd ..
- name: Cache Detox build
id: cache-detox-build
uses: actions/cache@v4
with:
path: example/android/app/build
key: ${{ runner.os }}-detox-build
restore-keys: |
${{ runner.os }}-detox-build
# - name: Cache Detox build
# id: cache-detox-build
# uses: actions/cache@v4
# with:
# path: example/android/app/build
# key: ${{ runner.os }}-detox-build
# restore-keys: |
# ${{ runner.os }}-detox-build

- name: Detox build
env:
Expand Down

0 comments on commit c57526f

Please sign in to comment.