Skip to content

Commit

Permalink
fix: build CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Mar 26, 2024
1 parent d747620 commit ba19f99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,14 @@ jobs:
id: install_code
run: pnpm install --frozen-lockfile
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: actions/cache@v3
with:
path: |
~/android/.gradle/*
~/android/gradle/wrapper/*
key: ${{ runner.os }}-gradle-${{ hashFiles('android/.gradle*', 'android/gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
cache: 'gradle'
cache-dependency-path: | # optional
android/.gradle/*.gradle*
android/**/gradle-wrapper.properties
- name: Build
id: build_code
run: npm run verify:android
Expand All @@ -51,7 +47,7 @@ jobs:
with:
node-version: 20
cache: 'pnpm'
- uses: actions/cache@v3
- uses: actions/cache@v4
id: cocoapods-cache
with:
path: ios/Pods
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
id: install_code
run: pnpm install --frozen-lockfile
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand Down

0 comments on commit ba19f99

Please sign in to comment.