Skip to content

Commit

Permalink
ci: test release
Browse files Browse the repository at this point in the history
  • Loading branch information
bmax committed Dec 31, 2023
1 parent e8b87ec commit 4d71af3
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ jobs:
uses: actions/download-artifact@v3
with:
name: apd-aarch64-linux-android
path: ../app/libs/arm64-v8a/libapd.so
path: .

- name: test
- name: Copy Libs
run: |
ls
echo "==="
mv aarch64-linux-android/release/apd app/libs/arm64-v8a/libapd.so
ls app/libs/arm64-v8a/
- name: Build with Gradle
Expand All @@ -70,22 +71,22 @@ jobs:
name: APatch
path: app/build/outputs/apk/release/*.apk

- name: Sign Release
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
# - name: Sign Release
# uses: r0adkll/sign-android-release@v1
# id: sign_app
# with:
# releaseDirectory: app/build/outputs/apk/release
# signingKeyBase64: ${{ secrets.SIGNING_KEY }}
# alias: ${{ secrets.ALIAS }}
# keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
# keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Release apk
uses: ncipollo/[email protected]
with:
token: ${{ github.token }}
tag: ${{ steps.parse_version.outputs.VERSION }}
artifacts: ${{steps.sign_app.outputs.signedReleaseFile}}
generateReleaseNotes: true
makeLatest: true
replacesArtifacts: true
# - name: Release apk
# uses: ncipollo/[email protected]
# with:
# token: ${{ github.token }}
# tag: ${{ steps.parse_version.outputs.VERSION }}
# artifacts: ${{steps.sign_app.outputs.signedReleaseFile}}
# generateReleaseNotes: true
# makeLatest: true
# replacesArtifacts: true

0 comments on commit 4d71af3

Please sign in to comment.