diff --git a/.github/workflows/android-master.yml b/.github/workflows/android-master.yml index 1e1d8d7..5ee44a3 100644 --- a/.github/workflows/android-master.yml +++ b/.github/workflows/android-master.yml @@ -21,9 +21,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v2 - - name: Copy CI gradle.properties run: | mkdir -p ~/.gradle @@ -37,13 +34,13 @@ jobs: echo Last build tool version is: $BUILD_TOOL_VERSION - name: Set up JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: - java-version: 17 - distribution: adopt + java-version: 21 + distribution: jetbrains - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 - name: Build APK run: ./gradlew spotlessCheck assembleRelease --stacktrace @@ -82,7 +79,7 @@ jobs: - name: Create Release if: startsWith(github.ref, 'refs/tags/') && github.repository == 'ivaniskandar/shouko' - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: tag_name: ${{ env.VERSION_TAG }} name: ${{ env.VERSION_TAG }}