Skip to content

Commit

Permalink
Merge pull request #97 from mailchimp/enhancement/resolve-release-dep…
Browse files Browse the repository at this point in the history
…loy-action-warnings

Enhancement/resolve release deploy action warnings
  • Loading branch information
vikrampm1 authored Jan 28, 2025
2 parents e8ea31f + 8fb4d53 commit cba6c8b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/wordpress-plugin-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
tag:
name: New release
runs-on: ubuntu-latest
if: ${{ !github.event.release.prerelease }} # Skip job if it is a pre-release

steps:
- name: Checkout code
Expand Down Expand Up @@ -39,12 +40,11 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: mailchimp

- name: Upload release asset
uses: actions/[email protected]
- name: Attach the wordpress.org plugin files to the Github release
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.deploy.outputs.zip-path }}
body: |
This release contains the latest updates for the WordPress plugin.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.deploy.outputs.zip-path }}
asset_name: mailchimp.zip
asset_content_type: application/zip

0 comments on commit cba6c8b

Please sign in to comment.