Skip to content

Commit

Permalink
Updated autopublish
Browse files Browse the repository at this point in the history
  • Loading branch information
spyder007 committed May 14, 2021
1 parent 85b0511 commit 7eb46ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ jobs:
upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: tcmsteamsbuildnotifier-web-ui/target/tcmsteamsbuildnotifier-${{ env.VERSION }}.zip
asset_name: tcmsteamsbuildnotifier-${{ env.VERSION }}.zip
asset_content_type: application/zip
asset_content_type: application/zip
- name: Upload Release Asset to Jetbrains
if: ${{ github.event.action == 'published' && !github.event.release.draft}}
run: |
curl -i --header "Authorization: Bearer ${{ secrets.JETBRAINS_TOKEN }}" -F pluginId=12645 -F file=@tcmsteamsbuildnotifier-web-ui/target/tcmsteamsbuildnotifier-${{ env.VERSION }}.zip -F channel=stable https://plugins.jetbrains.com/plugin/uploadPlugin

0 comments on commit 7eb46ad

Please sign in to comment.