From b763e56ee01f4da30901a401116eb15929f6645c Mon Sep 17 00:00:00 2001 From: Siddharth Thevaril Date: Mon, 6 May 2024 18:15:27 +0530 Subject: [PATCH] Move from actions/upload-release-asset to softprops/action-gh-release --- .github/workflows/deploy-to-wpdotorg.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-to-wpdotorg.yml b/.github/workflows/deploy-to-wpdotorg.yml index f7bf2862..410878fc 100644 --- a/.github/workflows/deploy-to-wpdotorg.yml +++ b/.github/workflows/deploy-to-wpdotorg.yml @@ -23,11 +23,8 @@ jobs: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - name: Upload release asset - uses: actions/upload-release-asset@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ${{github.workspace}}/${{ github.event.repository.name }}.zip - asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip + files: ${{github.workspace}}/${{ github.event.repository.name }}.zip