Skip to content

Commit

Permalink
remove manual link
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome committed Feb 25, 2025
1 parent e56a2bd commit 60c9cb8
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/build-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,10 @@ jobs:
- run: npm run package:${{ matrix.builds.id }}
working-directory: vscode

- name: Install npm package from local [temporary]
if: matrix.builds.id == 'vscode'
run: |
npm install
npm run build
npm pack
working-directory: vscode/npm-package

- name: Update VS Code extension's package.json to use local package
if: matrix.builds.id == 'vscode'
run: |
PACKAGE_PATH=$(realpath vscode/npm-package/*.tgz)
jq --arg pkg "$PACKAGE_PATH" '.dependencies["@microsoft/kiota"] = $pkg' vscode/microsoft-kiota/package.json > temp.json && mv temp.json vscode/microsoft-kiota/package.json
cat vscode/microsoft-kiota/package.json
npm install
- run: npm i -g @vscode/vsce
if: matrix.builds.id == 'vscode'
- run: |
npm ls @microsoft/kiota
vsce package
vsce ls
if: matrix.builds.id == 'vscode'
Expand Down

0 comments on commit 60c9cb8

Please sign in to comment.