File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 88 tag :
99 name : New release
1010 runs-on : ubuntu-latest
11+ if : ${{ !github.event.release.prerelease }} # Skip job if it is a pre-release
1112
1213 steps :
1314 - name : Checkout code
@@ -39,12 +40,11 @@ jobs:
3940 SVN_PASSWORD : ${{ secrets.SVN_PASSWORD }}
4041 SLUG : mailchimp
4142
42- - name : Upload release asset
43- 43+ - name : Attach the wordpress.org plugin files to the Github release
44+ uses : softprops/action-gh-release@v2
45+ with :
46+ files : ${{ steps.deploy.outputs.zip-path }}
47+ body : |
48+ This release contains the latest updates for the WordPress plugin.
4449 env :
4550 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46- with :
47- upload_url : ${{ github.event.release.upload_url }}
48- asset_path : ${{ steps.deploy.outputs.zip-path }}
49- asset_name : mailchimp.zip
50- asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments