From 93d7db4720c06e77ca0323cc23e5aefed4a0b2df Mon Sep 17 00:00:00 2001 From: zimplexing Date: Wed, 2 Jul 2025 10:21:56 +0800 Subject: [PATCH] Update --- .github/workflows/build-apk.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 080680a..7314ba9 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -41,8 +41,14 @@ jobs: mkdir -p artifacts cp android/app/build/outputs/apk/release/app-release.apk artifacts/orionTV.${{ steps.package-version.outputs.version }}.apk - - name: Upload TV APK - uses: actions/upload-artifact@v4 + - name: Create Release and Upload APK + uses: softprops/action-gh-release@v2 with: - name: orionTV-apk - path: artifacts/orionTV.${{ steps.package-version.outputs.version }}.apk + tag_name: v${{ steps.package-version.outputs.version }} + name: Release v${{ steps.package-version.outputs.version }} + body: Automated release for version v${{ steps.package-version.outputs.version }}. + draft: false + prerelease: false + files: artifacts/orionTV.${{ steps.package-version.outputs.version }}.apk + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}