Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/resolve release deploy action warnings #97

Merged
merged 14 commits into from
Jan 28, 2025
Merged
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
Loading