mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-02 00:00:25 +00:00
Update android.yml
This commit is contained in:
parent
04e1a76337
commit
a3e0f36de4
1 changed files with 12 additions and 5 deletions
11
.github/workflows/android.yml
vendored
11
.github/workflows/android.yml
vendored
|
|
@ -50,11 +50,17 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} # Ensure you have the PAT_TOKEN secret set
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.event.inputs.release_tag }}
|
tag_name: ${{ github.event.inputs.release_tag }}
|
||||||
release_name: Release ${{ github.event.inputs.release_tag }}
|
release_name: Release ${{ github.event.inputs.release_tag }}
|
||||||
|
|
@ -66,7 +72,7 @@ jobs:
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: app/build/outputs/apk/release/app-release.apk # Corrected path
|
asset_path: ./app-release.apk # Use the correct path for the downloaded APK
|
||||||
asset_name: app-release.apk
|
asset_name: app-release.apk
|
||||||
asset_content_type: application/vnd.android.package-archive
|
asset_content_type: application/vnd.android.package-archive
|
||||||
|
|
||||||
|
|
@ -85,3 +91,4 @@ jobs:
|
||||||
asset_path: vectras-vm-x86_64.tar.gz
|
asset_path: vectras-vm-x86_64.tar.gz
|
||||||
asset_name: vectras-vm-x86_64.tar.gz
|
asset_name: vectras-vm-x86_64.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue