From 83737d5df95672d608ca1f69bc9dd237697c9310 Mon Sep 17 00:00:00 2001 From: CherretGit <53180941+CherretGit@users.noreply.github.com> Date: Sun, 30 Mar 2025 15:55:00 +0700 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4dc8990..3c3ed11 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -47,13 +47,12 @@ jobs: $ANDROID_HOME/build-tools/$(ls $ANDROID_HOME/build-tools | sort -V | tail -1)/apksigner verify \ app/build/outputs/apk/release/app-release.apk - - name: Create Release - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ github.event.inputs.tag }} - release_name: Release ${{ github.event.inputs.tag }} - draft: false - prerelease: false - files: app/build/outputs/apk/release/app-release.apk + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: app/build/outputs/apk/release/app-release.apk + asset_name: app-release.apk + asset_content_type: application/vnd.android.package-archive