mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-29 14:59:50 +00:00
Update android.yml
This commit is contained in:
parent
a3e0f36de4
commit
7360da0fcf
1 changed files with 0 additions and 30 deletions
30
.github/workflows/android.yml
vendored
30
.github/workflows/android.yml
vendored
|
|
@ -24,22 +24,6 @@ jobs:
|
|||
distribution: 'zulu'
|
||||
java-version: '17'
|
||||
|
||||
- name: Chmod gradlew
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
- name: Build Android app in release mode
|
||||
run: ./gradlew assembleRelease
|
||||
|
||||
- name: List APK Output Directory
|
||||
run: |
|
||||
ls -l app/build/outputs/apk/release/
|
||||
|
||||
- name: Upload APK
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app-release.apk
|
||||
path: app/build/outputs/apk/release/app-release.apk
|
||||
|
||||
- name: Download vectras-vm-arm64-v8a.tar.gz
|
||||
run: wget -O vectras-vm-arm64-v8a.tar.gz https://github.com/xoureldeen/Vectras-VM-Android/releases/download/v2.9.2/vectras-vm-arm64-v8a.tar.gz
|
||||
|
||||
|
|
@ -50,12 +34,6 @@ jobs:
|
|||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download APK Artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: app-release.apk
|
||||
path: ./ # Download to the current working directory
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
|
@ -68,14 +46,6 @@ jobs:
|
|||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Upload APK to release
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./app-release.apk # Use the correct path for the downloaded APK
|
||||
asset_name: app-release.apk
|
||||
asset_content_type: application/vnd.android.package-archive
|
||||
|
||||
- name: Upload vectras-vm-arm64-v8a.tar.gz to release
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue