From 06c1d4784f5eaf1b4e366e092cf8fa19dca65bbb Mon Sep 17 00:00:00 2001 From: Siddharth Thevaril Date: Fri, 19 Jul 2024 20:01:33 +0530 Subject: [PATCH] move from actions/upload-release-asset to softprops/action-gh-release --- .github/workflows/wordpress-plugin-deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wordpress-plugin-deploy.yml b/.github/workflows/wordpress-plugin-deploy.yml index 63759b5..d32b2af 100644 --- a/.github/workflows/wordpress-plugin-deploy.yml +++ b/.github/workflows/wordpress-plugin-deploy.yml @@ -22,11 +22,8 @@ jobs: SVN_USERNAME: ${{ secrets.SVN_USERNAME }} SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - 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: ${{ steps.deploy.outputs.zip-path }} - asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip + files: ${{ github.workspace }}/${{ github.event.repository.name }}.zip