Skip to content

Commit ddd7ae9

Browse files
committed
Adds OpenVSX publishing
1 parent d45d6ec commit ddd7ae9

File tree

4 files changed

+370
-165
lines changed

4 files changed

+370
-165
lines changed

.github/workflows/cd-pre.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ jobs:
7070
run: node -e "console.log('PACKAGE_VERSION=' + require('./package.json').version + '\nPACKAGE_NAME=' + require('./package.json').name + '-' + require('./package.json').version)" >> $GITHUB_ENV
7171
- name: Package extension
7272
run: pnpm run package --pre-release
73-
- name: Publish extension
73+
- name: Publish extension to VS Code Marketplace
7474
run: pnpm vsce publish --no-dependencies --pre-release --packagePath ./${{ env.PACKAGE_NAME }}.vsix -p ${{ secrets.GITLENS_VSCODE_MARKETPLACE_PAT }}
75+
- name: Publish extension to OpenVSIX
76+
run: pnpm ovsx publish ./${{ env.PACKAGE_NAME }}.vsix -p ${{ secrets.GITLENS_OPENVSIX_PAT }}
7577
- name: Publish artifact
7678
uses: actions/upload-artifact@v4
7779
with:

.github/workflows/cd-stable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030
run: pnpm install
3131
- name: Package extension
3232
run: pnpm run package
33-
- name: Publish Extension
33+
- name: Publish Extension to VS Code Marketplace
3434
run: pnpm vsce publish --no-dependencies --packagePath ./${{ env.PACKAGE_NAME }}.vsix -p ${{ secrets.GITLENS_VSCODE_MARKETPLACE_PAT }}
35+
- name: Publish extension to OpenVSIX
36+
run: pnpm ovsx publish ./${{ env.PACKAGE_NAME }}.vsix -p ${{ secrets.GITLENS_OPENVSIX_PAT }}
3537
- name: Generate Changelog
3638
id: changelog
3739
uses: mindsers/changelog-reader-action@v2

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17975,7 +17975,7 @@
1797517975
"@eamodio/eslint-lite-webpack-plugin": "0.1.0",
1797617976
"@eslint/js": "9.12.0",
1797717977
"@playwright/test": "1.48.0",
17978-
"@swc/core": "1.7.28",
17978+
"@swc/core": "1.7.35",
1797917979
"@twbs/fantasticon": "3.0.0",
1798017980
"@types/eslint__js": "8.42.3",
1798117981
"@types/mocha": "10.0.8",
@@ -18008,17 +18008,18 @@
1800818008
"eslint-plugin-wc": "2.2.0",
1800918009
"fork-ts-checker-webpack-plugin": "6.5.3",
1801018010
"glob": "11.0.0",
18011-
"globals": "15.10.0",
18011+
"globals": "15.11.0",
1801218012
"html-loader": "5.1.0",
1801318013
"html-webpack-plugin": "5.6.0",
1801418014
"image-minimizer-webpack-plugin": "4.1.0",
1801518015
"license-checker-rseidelsohn": "4.4.2",
1801618016
"lz-string": "1.5.0",
1801718017
"mini-css-extract-plugin": "2.9.1",
1801818018
"mocha": "10.7.3",
18019+
"ovsx": "0.10.0",
1801918020
"playwright": "1.48.0",
1802018021
"prettier": "3.1.0",
18021-
"sass": "1.79.4",
18022+
"sass": "1.79.5",
1802218023
"sass-loader": "16.0.2",
1802318024
"schema-utils": "4.2.0",
1802418025
"sharp": "0.32.6",

0 commit comments

Comments
 (0)