Skip to content

Commit ff9b490

Browse files
authored
Merge pull request #3 from LPCIC/drop-dep
Drop dep
2 parents af8d10d + 37fca75 commit ff9b490

File tree

4 files changed

+90
-3
lines changed

4 files changed

+90
-3
lines changed

.github/workflows/main.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ '**' ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [15.x, 16.x]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
23+
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
27+
- run: npm install -g vsce
28+
- run: npm install
29+
- run: vsce package
30+
31+
- name: Save Artifact
32+
uses: actions/upload-artifact@v2
33+
with:
34+
name: 'extension package ${{ matrix.node-version }}'
35+
path: ./coq-elpi-lang-*.vsix
36+
37+

.github/workflows/vcstore.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Visual Studio store upload
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
publish_vsx:
9+
description: 'Upload to the main store'
10+
required: true
11+
default: false
12+
publish_open_vsx:
13+
description: 'Upload to the open vsx store'
14+
required: true
15+
default: false
16+
17+
jobs:
18+
build:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v3
25+
26+
- name: Install Node.js
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: 16.x
30+
31+
- run: npm install -g vsce
32+
- run: npm install
33+
- run: vsce package
34+
35+
- name: Publish
36+
if: success() && (startsWith(github.ref, 'refs/tags/') || ${{ github.event.inputs.publish_vsx }})
37+
run: npm run deploy
38+
env:
39+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
40+
41+
- name: Publish to Open VSX Registry
42+
if: success() && (startsWith(github.ref, 'refs/tags/') || ${{ github.event.inputs.publish_open_vsx }})
43+
uses: HaaLeo/publish-vscode-extension@v1
44+
with:
45+
pat: ${{ secrets.OPEN_VSX_TOKEN }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## 0.0.6
4+
5+
- Drop dependency on maximedenes.vscoq since the extension works with both
6+
maximedenes.vscoq and coq-community.vscoq1
7+
8+
39
## 0.0.5
410

511
- Fix minor glitches

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "coq-elpi-lang",
33
"displayName": "Coq Elpi lang",
44
"description": "Syntax highlighting for Coq and Elpi",
5-
"version": "0.0.5",
5+
"version": "0.0.6",
66
"publisher": "gares",
77
"license": "MIT",
88
"engines": {
@@ -16,8 +16,7 @@
1616
"elpi"
1717
],
1818
"extensionDependencies": [
19-
"gares.elpi-lang",
20-
"maximedenes.vscoq"
19+
"gares.elpi-lang"
2120
],
2221
"readme": "https://github.com/LPCIC/coq-elpi-lang/README.md",
2322
"bugs": "https://github.com/LPCIC/coq-elpi-lang/issues",

0 commit comments

Comments
 (0)