diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f2a996..64e930d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: set up jdk - uses: actions/setup-java@v1 + - name: Set up Java + uses: actions/setup-java@v3 with: - java-version: 1.11 + distribution: 'zulu' + java-version: '17' - name: decode keystore uses: italankin/android-keystore-decode-action@v1 @@ -48,7 +49,7 @@ jobs: mv "$AAB_OUTPUT_PATH/app-release.aab" "$AAB_OUTPUT_PATH/15-puzzle-${{ steps.current_tag.outputs.tag }}.aab" - name: create release - uses: ncipollo/release-action@v1 + uses: ncipollo/release-action@v1.12.0 with: artifacts: "${{ env.APK_OUTPUT_PATH }}/*.apk" prerelease: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3febf4a..c57ee6f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,10 +16,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: set up jdk - uses: actions/setup-java@v1 + - name: Set up Java + uses: actions/setup-java@v3 with: - java-version: 1.11 + distribution: 'zulu' + java-version: '17' - name: make gradlew executable run: chmod +x gradlew @@ -40,16 +41,17 @@ jobs: steps: - uses: actions/checkout@v2 - - name: set up jdk - uses: actions/setup-java@v1 + - name: Set up Java + uses: actions/setup-java@v3 with: - java-version: 1.11 + distribution: 'zulu' + java-version: '17' - name: make gradlew executable run: chmod +x gradlew - name: run ui tests - uses: reactivecircus/android-emulator-runner@v2.24.0 + uses: reactivecircus/android-emulator-runner@v2.32.0 with: api-level: 29 script: ./gradlew :app:connectedDebugAndroidTest