Skip to content

Commit

Permalink
fix(ci): update workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rushiiMachine committed Nov 28, 2024
1 parent c6e94d9 commit 9dafc4a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 changes: 3 additions & 1 deletion .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9dafc4a

Please sign in to comment.