From 5dc6b73d4a9e2ce4e411276d8ea74efc3dfaa1a9 Mon Sep 17 00:00:00 2001 From: itsnotsos Date: Sun, 29 Sep 2024 17:37:46 +0530 Subject: [PATCH] Update build-noti.yml --- .github/workflows/build-noti.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-noti.yml b/.github/workflows/build-noti.yml index 2ec2b58..9472aa6 100644 --- a/.github/workflows/build-noti.yml +++ b/.github/workflows/build-noti.yml @@ -54,22 +54,10 @@ jobs: name: ${{ env.REPO_NAME }}.apk path: ./${{ env.REPO_NAME }}.apk - - name: Create Release - id: create_release - uses: actions/create-release@v1.14.0 - env: - GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} - with: - tag_name: ${{ github.run_number }} - release_name: Release ${{ github.run_number }} - - - name: Upload Release APK + - name: Create and Release APK id: upload_release_asset - uses: actions/upload-release-asset@v1.1.3 + uses: softprops/action-gh-release@v2.0.8 + with: + files: ./${{ env.REPO_NAME }}.apk env: GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./${{ env.REPO_NAME }}.apk - asset_name: ${{ env.REPO_NAME }}.apk - asset_content_type: application/vnd.android.package-archive