From 4170c90a2e41cb40e8c2d3d58b4fef7d260bb294 Mon Sep 17 00:00:00 2001 From: Siddharth Thevaril Date: Fri, 19 Jul 2024 20:03:12 +0530 Subject: [PATCH] move from actions/upload-release-asset to softprops/action-gh-release --- .github/workflows/push-deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push-deploy.yml b/.github/workflows/push-deploy.yml index 0e1cd16..5ba16ec 100644 --- a/.github/workflows/push-deploy.yml +++ b/.github/workflows/push-deploy.yml @@ -21,11 +21,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: ${{ 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