This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
Provide support for Windows #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/[email protected] | |
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 |