File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 7272 git push origin main
7373 git push origin main --tags
7474
75+ - name : Create GitHub Release
76+ id : create_release
77+ uses : actions/create-release@v1
78+ env :
79+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80+ with :
81+ tag_name : ${{ needs.build-project.outputs.version }}
82+ release_name : Release ${{ needs.build-project.outputs.version }}
83+ draft : false
84+ prerelease : true
85+
86+ - name : Upload GitHub Release 2022 Asset
87+ uses : actions/upload-release-asset@v1
88+ env :
89+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
90+ with :
91+ upload_url : ${{ steps.create_release.outputs.upload_url }}
92+ asset_path : .\Snyk.VisualStudio.Extension.2022\bin\Release\Snyk.VisualStudio.Extension.vsix
93+ asset_name : Snyk_Vulnerability_Scanner-${{ needs.build-project.outputs.version }}-2022.vsix
94+ asset_content_type : application/zip
95+
7596 - name : Publish 2022 extension to Marketplace
76- uses : cezarypiatek/VsixPublisherAction@1.1
97+ uses : cezarypiatek/VsixPublisherAction@0.2
7798 with :
7899 extension-file : ' .\Snyk.VisualStudio.Extension.2022\bin\Release\Snyk.VisualStudio.Extension.vsix'
79100 publish-manifest-file : ' .\Snyk.VisualStudio.Extension.2022\vs-publish-preview.json'
You can’t perform that action at this time.
0 commit comments