diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 2ba081ede..888d5911e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -26,17 +26,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: - java-version: 17 + distribution: 'zulu' + java-version: '17' - name: Generate cache key run: .github/scripts/checksum.sh checksum.txt - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: | ~/.gradle/caches/modules-* @@ -53,7 +54,6 @@ jobs: run: zip -r assemble.zip . -i '**/build/*.apk' '**/build/*.aab' '**/build/*.aar' '**/build/*.so' - name: Upload artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: - name: assemble path: assemble.zip