From cc85da3eaa34fd0f87997ad5ad26c5f494d85224 Mon Sep 17 00:00:00 2001 From: Smiley <59495159+smiley9000@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:49:23 +0530 Subject: [PATCH] Update convert.yml --- .github/workflows/convert.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/convert.yml b/.github/workflows/convert.yml index cc62c37..f2942b2 100644 --- a/.github/workflows/convert.yml +++ b/.github/workflows/convert.yml @@ -53,21 +53,9 @@ jobs: run: mv ./last/EXT4_RW_AP.zip ./last/${{ github.event.inputs.Firmware }}.zip - name: Upload Release Asset - if: github.event_name == 'workflow_dispatch' uses: actions/upload-release-asset@v1 with: - upload_url: ${{ github.event.client_payload.upload_url }} - asset_path: ./last/${{ github.event.inputs.Firmware }}.zip - asset_name: ${{ github.event.inputs.Firmware }}.zip - asset_content_type: application/zip - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload Release Asset - if: github.event_name == 'push' - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ github.event.release.upload_url }} + upload_url: ${{ github.event.client_payload.upload_url }} # Use client_payload for workflow_dispatch asset_path: ./last/${{ github.event.inputs.Firmware }}.zip asset_name: ${{ github.event.inputs.Firmware }}.zip asset_content_type: application/zip