Skip to content

Commit 2f3bdad

Browse files
committed
Update actions steps to fix build
1 parent 028d21d commit 2f3bdad

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ jobs:
55
name: Build
66
runs-on: ubuntu-22.04
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
99

1010
- name: Set up JDK
11-
uses: actions/setup-java@v1
11+
uses: actions/setup-java@v4
1212
with:
1313
java-version: 11
14+
distribution: adopt-hotspot
1415

1516
- name: Setup Android SDK
1617
uses: android-actions/setup-android@v2
1718

1819
- name: Build release
1920
run: ./gradlew assembleRelease
2021

21-
- uses: actions/upload-artifact@v2
22+
- uses: actions/upload-artifact@v4
2223
with:
2324
name: unsigned-app.apk
2425
path: app/build/outputs/apk/release/app-release-unsigned.apk
@@ -31,7 +32,7 @@ jobs:
3132
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
3233
steps:
3334
- name: Get the APK
34-
uses: actions/download-artifact@v4.1.7
35+
uses: actions/download-artifact@v4
3536
with:
3637
name: unsigned-app.apk
3738
path: .

0 commit comments

Comments
 (0)