Skip to content

make build directory before packaging #48

make build directory before packaging

make build directory before packaging #48

Workflow file for this run

name: Build Workflow
on:
push:
branches:
- main
jobs:
build:
name: Package Extension
strategy:
fail-fast: false
matrix:
platform: [ win32-x64, win32-ia32, win32-arm64, linux-x64, linux-arm64, linux-armhf, darwin-x64, darwin-arm64, alpine-x64, alpine-arm64 ]
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: 'main'
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ">=20.11.0"
registry-url: "https://registry.npmjs.org/"
cache: 'npm'
- name: Install dependencies
run: bash install-dependencies.sh
shell: bash
- name: Run build script
run: cd extensions/vscode && npm install vsce && mkdir build && npx @vscode/vsce package --out ./build --target ${{ matrix.platform }}
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
path: extensions/vscode/build/*.vsix