diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfcb2d91bc..4a61eda8aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 @@ -56,4 +52,4 @@ jobs: export commit_author="${{ github.actor }}" export commit_sha="${{ github.sha }}" export run_num="${{ github.run_number }}" - bash build.sh \ No newline at end of file + bash build.sh