Skip to content

Commit eeaca4a

Browse files
authored
Publish to Open VSX on ggsql-vscode release (#146)
1 parent 170b491 commit eeaca4a

4 files changed

Lines changed: 59 additions & 11 deletions

File tree

.github/workflows/vscode.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Open VSX Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "vscode/v*"
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Check out repository
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: "20"
24+
25+
- name: Install vsce
26+
run: npm install -g @vscode/vsce
27+
28+
- name: Install dependencies
29+
working-directory: ggsql-vscode
30+
run: npm ci
31+
32+
- name: Package VSIX
33+
working-directory: ggsql-vscode
34+
run: vsce package
35+
36+
- name: Publish to Open VSX Registry
37+
uses: HaaLeo/publish-vscode-extension@v2
38+
with:
39+
pat: ${{ secrets.OPEN_VSX_TOKEN }}
40+
skipDuplicate: true
41+
packagePath: ggsql-vscode

ggsql-vscode/LICENSE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2025 ggsql authors
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ggsql-vscode/package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ggsql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"repository": {
2525
"type": "git",
26-
"url": "https://github.com/georgestagg/ggsql"
26+
"url": "https://github.com/posit-dev/ggsql"
2727
},
2828
"license": "MIT",
2929
"contributes": {

0 commit comments

Comments
 (0)