Skip to content

Commit

Permalink
fix: Building with latest sdk
Browse files Browse the repository at this point in the history
Signed-off-by: Kira Roubin <kirao@duck.com>
  • Loading branch information
jplie committed Mar 15, 2024
1 parent 804f291 commit db73960
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- name: Setup Android SDK Tools
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v3
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Chmod Gradle
Expand All @@ -36,10 +36,6 @@ jobs:
run: |
echo "${{ secrets.prop }}" | base64 -d > local.properties
echo "${{ secrets.keystore }}" | base64 -d > keystore.properties
- name: Fix SDK 31.0.0
run: |
[ ! -f $ANDROID_HOME/build-tools/31.0.0/dx ] && cp $ANDROID_HOME/build-tools/30.0.3/dx $ANDROID_HOME/build-tools/31.0.0/dx
[ ! -f $ANDROID_HOME/build-tools/31.0.0/lib/dx.jar ] && cp $ANDROID_HOME/build-tools/30.0.3/lib/dx.jar $ANDROID_HOME/build-tools/31.0.0/lib/dx.jar
- name: Setup
run: |
export TERM=linux
Expand All @@ -56,4 +52,4 @@ jobs:
export commit_author="${{ github.actor }}"
export commit_sha="${{ github.sha }}"
export run_num="${{ github.run_number }}"
bash build.sh
bash build.sh

0 comments on commit db73960

Please sign in to comment.