Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestguice authored Nov 24, 2024
1 parent c2f5212 commit 0bdaea9
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v4
with:
java-version: 1.8

submodules: recursive

- name: set up JDK 8.0.422+5
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8.0.422+5'

- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1.0.4
uses: gradle/actions/wrapper-validation@v4

- name: Make gradlew executable
run: chmod +x ./gradlew

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -45,13 +49,13 @@ jobs:
run: ./gradlew lintVitalRelease

- name: Upload artifacts (apk)
uses: actions/upload-artifact@v3.0.0
uses: actions/upload-artifact@v4
with:
name: app
path: app/build/outputs/apk/debug/app-debug.apk

- name: Upload artifacts (lint results)
uses: actions/upload-artifact@v3.0.0
uses: actions/upload-artifact@v4
with:
name: lint-results.html
path: app/build/reports/lint-results.html

0 comments on commit 0bdaea9

Please sign in to comment.