Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
CalvinAllen authored May 13, 2024
1 parent d87b5f0 commit d5fef19
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,20 @@ jobs:
with:
file_path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.info

- name: 3. Publish Release to Marketplace
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1
with:
marketplace-pat: ${{ secrets.VS_PAT }}
publish-manifest-path: ./resources/extension.manifest.json
vsix-path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix

- name: 4. Create Tag & Release
- name: 3. Create Tag & Release
uses: ncipollo/release-action@v1.14.0
with:
artifacts: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
generateReleaseNotes: true
makeLatest: true
token: ${{secrets.GH_SECRET}}
token: ${{ secrets.GH_SECRET }}
commit: ${{ steps.artifact_manifest.outputs.sha }}
tag: "v${{steps.artifact_manifest.outputs.version }}"
tag: ${{ steps.artifact_manifest.outputs.version }}

- name: 4. Publish Release to Marketplace
if: success()
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1
with:
marketplace-pat: ${{ secrets.VS_PAT }}
publish-manifest-path: ./resources/extension.manifest.json
vsix-path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix

0 comments on commit d5fef19

Please sign in to comment.