Split into remote + local extension pair #2
Workflow file for this run
This file contains hidden or 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
| name: Build & Release VSIX | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Build remote extension | |
| working-directory: remote | |
| run: npm ci && npx @vscode/vsce package | |
| - name: Build local extension | |
| working-directory: local | |
| run: npm ci && npx @vscode/vsce package | |
| - name: Upload VSIXs to GitHub Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| remote/*.vsix | |
| local/*.vsix |