-
Notifications
You must be signed in to change notification settings - Fork 32
34 lines (30 loc) · 1 KB
/
release.yml
File metadata and controls
34 lines (30 loc) · 1 KB
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
31
32
33
34
# 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]
permissions:
contents: read
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: Download extension from latest release assets
uses: robinraju/release-downloader@v1.9
with:
latest: true
fileName: conan-vs-extension.vsix
out-file-path: output
extract: false
token: ${{ github.token }}
- name: Visual Studio Marketplace Publisher
uses: CalvinAllen/action-vs-marketplace-publish@v1
with:
marketplace-pat: ${{ secrets.vs_marketplace_pat }}
publish-manifest-path: vsixManifest.json
vsix-path: output/conan-vs-extension.vsix