Update android.yml
This commit is contained in:
parent
56b0b830d5
commit
419859f767
1 changed files with 3 additions and 3 deletions
6
.github/workflows/android.yml
vendored
6
.github/workflows/android.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Archive release APK
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app-release.apk
|
||||
name: lobe-chat-android-beta.apk
|
||||
path: app/build/outputs/apk/release/lobe-chat-android-beta.apk
|
||||
|
||||
# Step 6: Create a GitHub Release and upload APK
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: app/build/outputs/apk/release/app-release.apk
|
||||
|
|
|
|||
Loading…
Reference in a new issue