Update main.yml
This commit is contained in:
parent
b647dea878
commit
eec23642b9
|
@ -23,13 +23,14 @@ jobs:
|
||||||
name: Build for ${{matrix.arch}}
|
name: Build for ${{matrix.arch}}
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: set up JDK 17
|
- name: set up JDK 17
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|
||||||
- name: Build ${{matrix.arch}} .apk
|
- name: Build ${{matrix.arch}} .apk
|
||||||
|
@ -47,7 +48,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload apk
|
- name: Upload apk
|
||||||
if: startsWith(github.ref, 'refs/heads/')
|
if: startsWith(github.ref, 'refs/heads/')
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: app-${{matrix.arch}}
|
name: app-${{matrix.arch}}
|
||||||
path: FCL/build/outputs/apk/release/*
|
path: FCL/build/outputs/apk/release/*
|
||||||
|
@ -59,13 +60,14 @@ jobs:
|
||||||
name: Build Debug
|
name: Build Debug
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: set up JDK 17
|
- name: set up JDK 17
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|
||||||
- name: Build debug apk
|
- name: Build debug apk
|
||||||
|
@ -74,7 +76,7 @@ jobs:
|
||||||
./gradlew assemblefordebug -Darch=all
|
./gradlew assemblefordebug -Darch=all
|
||||||
|
|
||||||
- name: Upload debug apk
|
- name: Upload debug apk
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: app-debug-all
|
name: app-debug-all
|
||||||
path: FCL/build/outputs/apk/fordebug/*
|
path: FCL/build/outputs/apk/fordebug/*
|
||||||
|
|
Loading…
Reference in New Issue