Skip to content

Normalizing paths generated to make plugin OS independent. #45

Normalizing paths generated to make plugin OS independent.

Normalizing paths generated to make plugin OS independent. #45

Workflow file for this run

# Build and store a VSIX file when pushed to main branch or pull requests, users can install the extension locally
# to try the latest changes or features with "code --install-extension sphinx-needs-vscode-nightly.vsix"
name: Vsce Nightly
on:
push:
branches:
- main
pull_request:
jobs:
build_vsix:
name: Build and store VSIX
runs-on: ubuntu-latest
if: github.repository == 'useblocks/sphinx-needs-vscode'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install dependencies
run: |
npm ci
npm run vscode:prepublish
- name: Create vsix package
uses: lannonbr/vsce-action@3.0.0
with:
args: "package"
- name: Storing artifacts
uses: actions/upload-artifact@v3
with:
name: sphinx-needs-vscode-nightly.vsix
path: sphinx-needs-vscode-*.vsix
retention-days: 7