From 5e1c2f3f922415fc683fb877cdbf9f435fe3815a Mon Sep 17 00:00:00 2001 From: Umesh Ghimire Date: Thu, 23 Nov 2023 13:14:04 +0545 Subject: [PATCH] Update build-release.yml --- .github/workflows/build-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 8d18580..800cf9c 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -13,7 +13,10 @@ jobs: id: vars run: echo ::set-output name=tag::${GITHUB_REF:10} - name: WordPress Plugin Deploy + id: deploy uses: 10up/action-wordpress-plugin-deploy@master + with: + generate-zip: true env: SVN_USERNAME: ${{ secrets.SVN_USERNAME }} SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} @@ -23,6 +26,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: ${{ steps.build.outputs.zip_path }} + asset_path: ${{ steps.deploy.outputs.zip_path }} asset_name: ${{ github.event.repository.name }}.zip asset_content_type: application/zip