Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
arkon committed Feb 18, 2024
1 parent b1fcba1 commit 328a1f4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build app
uses: gradle/gradle-command-action@v2
with:
arguments: bundlePlaystoreRelease
run: ./gradlew bundlePlaystoreRelease

# Sign app bundle and create release for tags

Expand All @@ -58,6 +59,8 @@ jobs:
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: "34.0.0"

- name: Create release
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'LISTEN-moe/android-app'
Expand Down

0 comments on commit 328a1f4

Please sign in to comment.