-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (34 loc) · 1.07 KB
/
release.yml
File metadata and controls
39 lines (34 loc) · 1.07 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
35
36
37
38
39
name: Release vsix to OpenVSX
on:
workflow_dispatch: {}
jobs:
release:
name: "Release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set Node.js
uses: actions/setup-node@v5
- name: npm install
working-directory: ./code-pointerscript/
run: npm install
# - name: typescript
# run: npx tsc
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v2
id: publishToOpenVSX
with:
packagePath: ./code-pointerscript/
pat: ${{ secrets.OPEN_VSX_TOKEN }}
# - name: Publish to Visual Studio Marketplace
# uses: HaaLeo/publish-vscode-extension@v0
# with:
# pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
# registryUrl: https://marketplace.visualstudio.com
# extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
# packagePath: ''
- name: Upload
uses: djn24/add-asset-to-release@v1
with:
token: ${{secrets.GITHUB_TOKEN}}
path: ${{ steps.publishToOpenVSX.outputs.vsixPath }}