Skip to content

Fix publish manifest #4

Fix publish manifest

Fix publish manifest #4

Workflow file for this run

name: Publish to VS Marketplace
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: 1. Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GH_SECRET}}
workflow: release_build_and_deploy.yml
workflow_conclusion: success
- name: 2. Publish Release to Marketplace
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1
with:
marketplace-pat: ${{ secrets.VS_PAT }}
publish-manifest-path: ./src/extension.manifest.json
vsix-path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix
- name: 3. Create Release
uses: ncipollo/[email protected]
with:
artifacts: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix
generateReleaseNotes: true
makeLatest: true
token: ${{secrets.GH_SECRET}}