We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e60170 commit 84fdd8eCopy full SHA for 84fdd8e
1 file changed
.github/workflows/ci.yml
@@ -2,6 +2,7 @@ name: CI
2
3
on:
4
release:
5
+ types: [published]
6
push:
7
branches: [main]
8
pull_request:
@@ -66,6 +67,8 @@ jobs:
66
67
- test
68
name: Release
69
runs-on: ubuntu-latest
70
+ permissions:
71
+ contents: write
72
steps:
73
- name: Download VSIX
74
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -76,6 +79,8 @@ jobs:
76
79
with:
77
80
node-version: 'lts/*'
78
81
- run: gh release upload "$GITHUB_REF_NAME" *.vsix
82
+ env:
83
+ GH_TOKEN: ${{ github.token }}
84
- run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} -i *.vsix
85
check:
86
if: always()
0 commit comments