Skip to content

Commit

Permalink
Update pull-request-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad authored Mar 12, 2024
1 parent d3c07a2 commit 4a866b3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
id: jni-cache
with:
path: "app/prebuilt"
key: afrim-jni

- name: Fetch submodules
if: ${{ !steps.jni-cache.outputs.cache-hit }}
run: |
git submodule update --init --recursive
Expand All @@ -71,19 +71,18 @@ jobs:
make style-check
# `make debug` works not well on Windows
- name: Build debug Trime
- name: Build debug Afrim
run: |
./gradlew :app:assembleDebug
- name: Add JNI cache
if: ${{ !steps.jni-cache.outputs.cache-hit }}
shell: bash
run: cp -R app/build/intermediates/stripped_native_libs/debug/out/lib app/prebuilt

- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: afrim
name: afrim-debug
path: app/build/outputs/apk/debug/
# keep 30 days
retention-days: 30

0 comments on commit 4a866b3

Please sign in to comment.