Skip to content

Workflow file for this run

'on':
release:
types:
- created
jobs:
release:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: '${{ matrix.os }}'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm install
- run: npm run publish -- --target linux-x64
if: matrix.os == 'ubuntu-latest'
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- run: npm run publish -- --target darwin-x64 darwin-arm64
if: matrix.os == 'macos-latest'
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- run: npm run publish -- --target win32-x64
if: matrix.os == 'windows-latest'
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}