mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Bump actions (#5229)
This commit is contained in:
parent
a1b6973614
commit
7db72f90f4
1 changed files with 6 additions and 6 deletions
12
.github/workflows/android.yml
vendored
12
.github/workflows/android.yml
vendored
|
|
@ -12,17 +12,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2.4.0
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|
||||||
- name: Cache packages
|
- name: Cache packages
|
||||||
id: cache-packages
|
id: cache-packages
|
||||||
uses: actions/cache@v2.1.7
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
|
|
||||||
- name: AVD cache
|
- name: AVD cache
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: avd-cache
|
id: avd-cache
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
run: bash ./gradlew assembleBetaDebug --stacktrace
|
run: bash ./gradlew assembleBetaDebug --stacktrace
|
||||||
|
|
||||||
- name: Upload betaDebug APK
|
- name: Upload betaDebug APK
|
||||||
uses: actions/upload-artifact@v2.3.1
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: betaDebugAPK
|
name: betaDebugAPK
|
||||||
path: app/build/outputs/apk/beta/debug/app-*.apk
|
path: app/build/outputs/apk/beta/debug/app-*.apk
|
||||||
|
|
@ -98,7 +98,7 @@ jobs:
|
||||||
run: bash ./gradlew assembleProdDebug --stacktrace
|
run: bash ./gradlew assembleProdDebug --stacktrace
|
||||||
|
|
||||||
- name: Upload prodDebug APK
|
- name: Upload prodDebug APK
|
||||||
uses: actions/upload-artifact@v2.3.1
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: prodDebugAPK
|
name: prodDebugAPK
|
||||||
path: app/build/outputs/apk/prod/debug/app-*.apk
|
path: app/build/outputs/apk/prod/debug/app-*.apk
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue