Skip to content

Commit 606f3fc

Browse files
committed
Revert "Do not publish to OpenVSX until ovsx accepts a version number"
Revive upload to openvsx because the Microsoft-owned Marketplace prevents users from downloading our extension's vsix (read https://github.com/VSCodium/vscodium/blob/master/docs/index.md#extensions-marketplace), making it cumbersome to install vscode-tlaplus into IDEs such as cursor (https://www.cursor.com). This reverts commit 9250294. [Build]
1 parent 558b3ae commit 606f3fc

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@v1
3333
- uses: actions/setup-node@v1
3434
with:
35-
node-version: '18.19'
35+
node-version: '22.14.0'
3636
- name: Get (latest) TLC
3737
run: wget https://nightly.tlapl.us/dist/tla2tools.jar -O tools/tla2tools.jar
3838
- name: Get (latest) CommunityModules
@@ -60,3 +60,16 @@ jobs:
6060
- name: Publish to Marketplace
6161
run: |
6262
vsce publish $(git log -1 --format=%cd --date="format:%Y.%-m.%-d%H%M") --pat "${{ secrets.VSCODE_MARKETPLACE_TLAPLUS_TOKEN }}"
63+
mv vscode-ide-1.7.0.vsix vscode-tlaplus-$(git log -1 --format=%cd --date="format:%Y.%-m.%-d%H%M").vsix
64+
ls -lah
65+
- name: Upload the file as an artifact
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: vscode-ide-1.7.0.vsix
69+
path: |
70+
*.vsix
71+
- name: Publish to Open VSX
72+
run: |
73+
which npx
74+
node --version
75+
npx ovsx publish -i vscode-tlaplus-$(git log -1 --format=%cd --date="format:%Y.%-m.%-d%H%M").vsix --packageVersion $(git log -1 --format=%cd --date="format:%Y.%-m.%-d%H%M") -p "${{ secrets.OPEN_VSX_TOKEN_TLAPLUS }}"

0 commit comments

Comments
 (0)