Skip to content

Commit

Permalink
update ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaniskandar committed Jan 8, 2025
1 parent 0216aaf commit feac4a8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/android-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit feac4a8

Please sign in to comment.