ci: fetch android setup actions from github
This commit is contained in:
parent
37594e7f4f
commit
5cb4d7d4e1
1 changed files with 4 additions and 4 deletions
|
|
@ -17,20 +17,20 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: https://github.com/actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
||||||
- name: Set up Node 20
|
- name: Set up Node 20
|
||||||
uses: actions/setup-node@v4
|
uses: https://github.com/actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: mobile/package-lock.json
|
cache-dependency-path: mobile/package-lock.json
|
||||||
|
|
||||||
- name: Set up Android SDK
|
- name: Set up Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: https://github.com/android-actions/setup-android@v3
|
||||||
|
|
||||||
- name: Install Capacitor dependencies
|
- name: Install Capacitor dependencies
|
||||||
working-directory: mobile
|
working-directory: mobile
|
||||||
|
|
@ -67,7 +67,7 @@ jobs:
|
||||||
cp "$APK" "artifacts/pedscribe-${GITHUB_REF_NAME:-manual}.apk"
|
cp "$APK" "artifacts/pedscribe-${GITHUB_REF_NAME:-manual}.apk"
|
||||||
|
|
||||||
- name: Upload APK artifact
|
- name: Upload APK artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: https://github.com/actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: pedscribe-android-apk
|
name: pedscribe-android-apk
|
||||||
path: artifacts/*.apk
|
path: artifacts/*.apk
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue