Skip to content

Commit

Permalink
Update GitHub Actions (#5)
Browse files Browse the repository at this point in the history
- Update actions to latest supported versions
 - Add setup Gradle action for verification + caching
  • Loading branch information
jpelgrom authored Oct 8, 2024
1 parent 453e008 commit 5fc4ea1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,27 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build Library AAR and Demo
run: ./gradlew build

- name: Archive Libary Build
uses: kittaakos/upload-artifact-as-is@v0
- name: Archive Library Build
uses: actions/upload-artifact@v4
with:
name: library
path: ./library/build/outputs/aar/*.aar

- name: Archive Demo Build
uses: kittaakos/upload-artifact-as-is@v0
uses: actions/upload-artifact@v4
with:
name: demo
path: ./app/build/outputs/apk/debug/*.apk
5 changes: 4 additions & 1 deletion .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build Library AAR and Demo
run: ./gradlew build

Expand Down

0 comments on commit 5fc4ea1

Please sign in to comment.