mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
ci: fix android build workflow and update to gradle
This commit is contained in:
parent
eb65ea75a9
commit
d675acabe6
1 changed files with 10 additions and 3 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
|
@ -13,6 +13,12 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '17'
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
|
@ -22,16 +28,17 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build app
|
||||
- name: Build Android App
|
||||
run: |
|
||||
npm run build
|
||||
cd android
|
||||
chmod +x gradlew
|
||||
./gradlew assembleRelease
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
android/app/build/outputs/apk/release/*.apk
|
||||
body_path: ALPHA_BUILD_2_ANNOUNCEMENT.md
|
||||
draft: true
|
||||
prerelease: true
|
||||
generate_release_notes: true
|
||||
Loading…
Reference in a new issue