Skip to content

Commit

Permalink
finish vscode workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin committed Dec 5, 2024
1 parent c7f93d9 commit fdf50b1
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/build-vscode-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
name: Build WASM
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
Expand Down Expand Up @@ -80,4 +79,27 @@ jobs:
with:
name: vscode-playground
path: typescript/vscode-ext/packages/web-panel/dist
if-no-files-found: error
if-no-files-found: error

publish:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- uses: actions/download-artifact@v4
with:
name: baml-vscode.vsix
path: typescript/out/
- name: Install Dependencies
run: pnpm install --frozen-lockfile
working-directory: typescript/
- run: |
cd typescript/
set -x
ls -la ./
ls -la out/
pnpm help
- run: pnpm exec vsce publish --packagePath ./out/baml-vscode.vsix
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit fdf50b1

Please sign in to comment.