v2.0.5 #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Actions Workflow created for handling the release process based on the draft release prepared with the Build workflow. | |
name: Release | |
on: | |
release: | |
types: [prereleased, released] | |
jobs: | |
release: | |
runs-on: windows-latest | |
name: Publish the extension to Visual Studio Marketplace | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Donwload extension from latest release assets | |
uses: robinraju/[email protected] | |
with: | |
latest: true | |
fileName: conan-vs-extension.vsix | |
out-file-path: output | |
extract: false | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Visual Studio Marketplace Publisher | |
uses: CalvinAllen/action-vs-marketplace-publish@v1 | |
with: | |
marketplace-pat: ${{ secrets.vs_marketplace_pat }} # Personal Access Token to upload to the VS Marketplace | |
publish-manifest-path: vsixManifest.json | |
vsix-path: output/conan-vs-extension.vsix |