Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CielNeko authored Feb 17, 2024
1 parent 5906875 commit 470c208
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
path: |
app/libs/libcore.aar
key: ${{ hashFiles('golang_status', 'libcore_status') }}
key: ${{ hashFiles('golang_status', 'libcore_status') }}-ci
- name: Install Golang
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/setup-go@v4
Expand All @@ -49,12 +49,12 @@ jobs:
with:
path: |
app/libs/libcore.aar
key: ${{ hashFiles('golang_status', 'libcore_status') }}
key: ${{ hashFiles('golang_status', 'libcore_status') }}-ci
- name: Gradle cache
uses: actions/cache@v4
with:
path: ~/.gradle
key: gradle-oss-${{ hashFiles('**/*.gradle.kts') }}
key: gradle-oss-${{ hashFiles('**/*.gradle.kts') }}-ci
- name: Gradle Build
env:
BUILD_PLUGIN: none
Expand All @@ -63,7 +63,7 @@ jobs:
echo "ndk.dir=${ANDROID_HOME}/ndk/25.0.8775105" >> local.properties
export LOCAL_PROPERTIES="${{ secrets.LOCAL_PROPERTIES }}"
./run init action gradle
./gradlew app:assembleOssRelease
./gradlew app:assembleOssDebug
APK=$(find app/build/outputs/apk -name '*arm64-v8a*.apk')
APK=$(dirname $APK)
echo "APK=$APK" >> $GITHUB_ENV
Expand Down

0 comments on commit 470c208

Please sign in to comment.