diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index de5b0bf..5b487b5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -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