-
Notifications
You must be signed in to change notification settings - Fork 34
30 lines (28 loc) · 1.03 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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