Skip to content

Commit

Permalink
ci: setup JNI libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind authored Nov 24, 2023
1 parent ae75ecb commit bef9c09
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
distribution: 'temurin'
cache: gradle

- name: Set up JNI libraries
- run: |
curl -L https://github.com/alexmercerind/shazam-signature-jni/releases/download/v1.0.0/jniLibs.zip -o jniLibs.zip
unzip jniLibs.zip -d ./app/src/main
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand All @@ -28,7 +32,7 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: app-release
path: ./app/release/app-release.apk
path: ./app/build/outputs/apk/release/app-release.apk
- name: GitHub release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
Expand All @@ -37,4 +41,4 @@ jobs:
prerelease: false
tag_name: "vnext"
files: |
./app/release/app-release.apk
./app/build/outputs/apk/release/app-release.apk

0 comments on commit bef9c09

Please sign in to comment.