Skip to content

Commit

Permalink
updated yml
Browse files Browse the repository at this point in the history
  • Loading branch information
doljko committed Dec 22, 2023
1 parent 0c93097 commit 22fbe86
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/react-native-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,24 @@ jobs:
- name: Run Jetify
run: npx jetify

- name: Cache Gradle Wrapper
uses: actions/cache@v2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}

- name: Cache Gradle Dependencies
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-caches-
- name: Make Gradlew Executable
run: cd android && chmod +x ./gradlew

- name: Build Android
run: cd android && ./gradlew && ./gradlew assembleRelease
run: cd android && ./gradlew assembleRelease

ios_build:
runs-on: macOS-latest
Expand Down

0 comments on commit 22fbe86

Please sign in to comment.