Skip to content

bump: version 0.24.1 → 0.24.2 #5

bump: version 0.24.1 → 0.24.2

bump: version 0.24.1 → 0.24.2 #5

Workflow file for this run

name: VSCE Publish
on:
push:
tags:
- "v*"
concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: true
jobs:
publish-openvsx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: lts/*
- run: npm ci
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
id: publishToOpenVSX
with:
pat: ${{ secrets.OPENVSX_PERSONAL_ACCESS_TOKEN }}
publish-vscode:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: lts/*
- run: npm ci
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VSCODE_PERSONAL_ACCESS_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
# Original job
# jobs:
# publish:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v1
# with:
# node-version: 14
# - run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
# name: Start Xvfb
# - run: npm install -g typescript vsce
# - run: npm ci
# - run: vsce package
# - run: vsce publish --pat ${{ secrets.VSCODE_PERSONAL_ACCESS_TOKEN }}