fix(ci): update workflow actions
This commit is contained in:
parent
c6e94d9864
commit
9dafc4a0f5
3 changed files with 12 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -9,11 +9,14 @@ on:
|
|||
- '*'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
|
|
@ -23,11 +26,12 @@ jobs:
|
|||
cache: 'gradle'
|
||||
|
||||
- name: Build project with Gradle
|
||||
run: chmod +x ./gradlew && ./gradlew app:assembleDebug
|
||||
run: chmod +x ./gradlew && ./gradlew :app:assembleDebug
|
||||
|
||||
- name: Upload apk as artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: app
|
||||
if-no-files-found: error
|
||||
path: |
|
||||
app/build/outputs/apk/debug/app-debug.apk
|
||||
|
|
|
|||
4
.github/workflows/crowdin.yml
vendored
4
.github/workflows/crowdin.yml
vendored
|
|
@ -16,7 +16,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: true
|
||||
|
||||
- name: Crowdin
|
||||
uses: crowdin/github-action@1.4.11
|
||||
|
|
|
|||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -11,8 +11,9 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: true
|
||||
ref: release
|
||||
path: src
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue