Skip to content

Commit 1358de4

Browse files
committed
Enable publishing of the vs code nightly extension
The OpenVSX bit is not ready yet (waiting for namespace claim), but the market place might work.
1 parent 0d8142c commit 1358de4

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

.github/workflows/nightly_snapshot.yaml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,21 +231,28 @@ jobs:
231231
- name: "npm install"
232232
working-directory: vscode_extension
233233
run: npm install
234-
- name: Build package and optionally publish to Open VSX Registry
235-
id: publishToOpenVSX
236-
uses: HaaLeo/publish-vscode-extension@v0
237-
with:
238-
pat: ${{ secrets.OPENVSX_PAT }}
239-
dryRun: ${{ github.event.inputs.private == 'true' || github.ref != 'refs/heads/master' }}
240-
packagePath: vscode_extension
234+
# - name: Build package and optionally publish to Open VSX Registry
235+
# id: publishToOpenVSX
236+
# uses: HaaLeo/publish-vscode-extension@v0
237+
# with:
238+
# pat: ${{ secrets.OPENVSX_PAT }}
239+
# dryRun: ${{ github.event.inputs.private == 'true' || github.ref != 'refs/heads/master' }}
240+
# packagePath: vscode_extension
241+
# - name: Publish to Visual Studio Marketplace
242+
# if: ${{ github.event.inputs.private != 'true' && github.ref == 'refs/heads/master' }}
243+
# uses: HaaLeo/publish-vscode-extension@v0
244+
# with:
245+
# pat: ${{ secrets.VSCODE_MARKETPLACE_PAT }}
246+
# registryUrl: https://marketplace.visualstudio.com
247+
# extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
248+
# packagePath: ''
241249
- name: Publish to Visual Studio Marketplace
242-
if: ${{ github.event.inputs.private != 'true' && github.ref == 'refs/heads/master' }}
250+
if: ${{ github.event.inputs.private != 'true' && github.ref == 'refs/heads/wip/rename' }}
243251
uses: HaaLeo/publish-vscode-extension@v0
244252
with:
245253
pat: ${{ secrets.VSCODE_MARKETPLACE_PAT }}
246254
registryUrl: https://marketplace.visualstudio.com
247-
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
248-
packagePath: ''
255+
packagePath: vscode_extension
249256
- name: "Upload extension artifact"
250257
uses: actions/upload-artifact@v2
251258
with:

0 commit comments

Comments
 (0)