Skip to content

Commit

Permalink
Update actions steps to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Nov 12, 2024
1 parent 028d21d commit 7f59498
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@ jobs:
name: Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 20
distribution: adopt-hotspot

- name: Setup Android SDK
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v3

- name: Build release
run: ./gradlew assembleRelease

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: unsigned-app.apk
path: app/build/outputs/apk/release/app-release-unsigned.apk
Expand All @@ -31,7 +32,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Get the APK
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: unsigned-app.apk
path: .
Expand Down

0 comments on commit 7f59498

Please sign in to comment.