Skip to content

Commit

Permalink
upgrade action
Browse files Browse the repository at this point in the history
  • Loading branch information
5ec1cff committed Nov 7, 2024
1 parent 5567b15 commit d3fe1f8
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
CCACHE_NOHASHDIR: "true"
CCACHE_HARDLINK: "true"
CCACHE_BASEDIR: "${{ github.workspace }}"

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 0
Expand All @@ -37,27 +32,25 @@ jobs:
fi
- name: Checkout rhino
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 5ec1cff/rhino
path: rhino

- name: Checkout stetho
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 5ec1cff/stetho
path: stetho

- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
distribution: temurin
java-version: 21

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Build rhino
working-directory: rhino
Expand All @@ -83,13 +76,13 @@ jobs:
./gradlew app:assemble
- name: Upload release
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "StethoX-release-ci.apk"
path: "./StethoX/app/build/outputs/apk/release/app-release.apk"

- name: Upload debug
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "StethoX-debug-ci.apk"
path: "./StethoX/app/build/outputs/apk/debug/app-debug.apk"

0 comments on commit d3fe1f8

Please sign in to comment.