-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6244e13
commit f99313a
Showing
4 changed files
with
48 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Publish this VSCode Extension to the OpenVSX Marketplace | ||
|
||
name: Publish to Open VSX Marketplace (Manual) | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
openvsx: | ||
name: OpenVSX Marketplace | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '${{ vars.NODE_VERSION }}' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install Dependencies | ||
run: yarn | ||
|
||
- name: Install Ovsx | ||
run: npm i -g ovsx | ||
|
||
- name: Publish to OpenVSX Marketplace | ||
run: ovsx publish --yarn -p ${{ secrets.OPENVSX_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,24 @@ name: Publish to VSCode Marketplace (Manual) | |
on: | ||
workflow_dispatch: | ||
jobs: | ||
vscemp: | ||
name: VScode Marketplace | ||
vscode: | ||
name: VSCode Marketplace | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Publish to VSCode Marketplace | ||
uses: HaaLeo/[email protected] | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
dryRun: true | ||
pat: ${{ secrets.VSCE_TOKEN }} | ||
registryUrl: https://marketplace.visualstudio.com | ||
yarn: true | ||
node-version: '${{ vars.NODE_VERSION }}' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install Dependencies | ||
run: yarn | ||
|
||
- name: Install Vsce | ||
run: npm i -g vsce | ||
|
||
- name: Publish to VSCode Marketplace | ||
run: vsce publish -p ${{ secrets.VSCE_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.13.0 | ||
18.15.0 |