Skip to content

Commit

Permalink
Description:
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed Jun 23, 2024
1 parent 022faa3 commit 3c8884f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ on:

jobs:
if_merged:
name: Publish the VS Code Extension to Open VSX
if: github.event.pull_request.merged == true
name: Publish the VS Code Extension to Open VSX
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install --frozen-lockfile
- run: npm install -g vsce
- run: npm run pretest
- name: Finally, publish to the marketplace.
run: npm run publish --registry=https://open-vsx.org/
env:
VSCE_PAT: ${{ secrets.OPEN_VSX_MARKETPLACE_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install --frozen-lockfile
- run: npm install -g vsce
- run: npm run pretest
- name: Finally, publish to the marketplace.
run: npm run publish --registry=https://open-vsx.org/
env:
VSCE_PAT: ${{ secrets.OPEN_VSX_MARKETPLACE_TOKEN }}

0 comments on commit 3c8884f

Please sign in to comment.