Skip to content

Commit

Permalink
test: Add github action for apk build
Browse files Browse the repository at this point in the history
  • Loading branch information
amarullz committed Jun 4, 2024
1 parent 14c8dd9 commit d5a34d8
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
30 changes: 29 additions & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,32 @@ jobs:
if: matrix.platform == 'ubuntu-latest'
with:
name: animetv-linux-arm64.rpm
path: ./electron/builds/*.aarch64.rpm
path: ./electron/builds/*.aarch64.rpm

release_mobile:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
cache: 'gradle'

- name: Prepare gradle
run: chmod +x ./gradlew

- name: Build Apk
run: |
echo "${{ secrets.RELEASE_KEYSTORE }}" > release.keystore.asc
gpg -d --passphrase "${{ secrets.RELEASE_PASSWORD }}" --batch release.keystore.asc > keystore/debug.keystore
./gradlew assembleRelease
- name: Upload build (Android)
uses: actions/upload-artifact@v4
with:
name: animetv.apk
path: ./build/outputs/apk/release/*.apk
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5a34d8

Please sign in to comment.