Skip to content

Commit

Permalink
chore: update actions (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
sketchbuch authored Apr 28, 2024
1 parent 6244e13 commit f99313a
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [created]
workflow_dispatch:
jobs:
vscemp:
vscode:
name: VSCode Marketplace
runs-on: ubuntu-latest
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
if: github.event_name != 'workflow_dispatch'
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}

openvsix:
openvsx:
name: OpenVSX Marketplace
runs-on: ubuntu-latest
steps:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/publish_vscodemp_manual copy.yml
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 }}
26 changes: 18 additions & 8 deletions .github/workflows/publish_vscodemp_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.0
18.15.0

0 comments on commit f99313a

Please sign in to comment.