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 8273a5f commit 11f6347Copy full SHA for 11f6347
.github/workflows/publish.yml
@@ -4,6 +4,9 @@ on:
4
release:
5
types: [published]
6
7
+permissions:
8
+ contents: write
9
+
10
jobs:
11
publish:
12
runs-on: ubuntu-latest
@@ -18,7 +21,14 @@ jobs:
18
21
run: |
19
22
sudo corepack enable
20
23
corepack yarn
- - name: Publish
24
+ - name: Package
25
+ run: yarn run pack
26
+ - name: Upload to Github Releases
27
+ uses: softprops/action-gh-release@v1
28
+ if: startsWith(github.ref, 'refs/tags/')
29
+ with:
30
+ files: mp-oi-library.vsix
31
+ - name: Publish to VS Code Marketplace
32
run: yarn run publish
33
env:
34
VSCE_PAT: ${{ secrets.VSCE_PAT }}
.vscodeignore
@@ -13,3 +13,4 @@ library/test/
13
library/test.exe
14
library/test.d
15
.github/
16
+**/*.gch
0 commit comments