-
Notifications
You must be signed in to change notification settings - Fork 14
42 lines (34 loc) · 1.07 KB
/
publish.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
31
32
33
34
35
36
37
38
39
40
41
42
name: Deploy Extension
on:
workflow_dispatch:
inputs:
version:
description: 'Release version (should match package.json)'
required: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: npm clean install
run: npm ci
- name: checkout language server
run: |
git clone https://github.com/nextflow-io/language-server -b {{ github.event.inputs.version }}
- name: build vscode extension
run: ./gradlew build
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: build/nextflow.vsix
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VSCE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: build/nextflow.vsix