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 bd2e3fc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 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
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 bd2e3fc

Please sign in to comment.