Build VSCode Extension #7
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
name: Build VSCode Extension | |
on: | |
workflow_dispatch: | |
inputs: | |
extension-name: | |
description: name of the extension, e.g. vscode-spring-cli | |
required: true | |
type: string | |
dist: | |
description: release, pre, snapshot | |
required: false | |
type: string | |
default: snapshot | |
permissions: | |
contents: write | |
jobs: | |
build-vscode-extension: | |
runs-on: ubuntu-latest | |
name: Build VSCode Extension '${{ inputs.extension-name }}' | |
steps: | |
- name: Checkout vscode-extensions code and workflow scripts | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
vscode-extensions | |
.github | |
- name: Build .VSIX file | |
id: build-vsix | |
run: | | |
echo `pwd` | |
${{ github.workspace }}/.github/scripts/build-vscode-extension.sh ${{ inputs.extension-name }} ${{ inputs.dist }} | |
ls | |
ls ./out | |