Skip to content

Commit

Permalink
Actually fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Fields committed Dec 6, 2020
1 parent d824950 commit e8693fc
Show file tree
Hide file tree
Showing 3 changed files with 308 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@ jobs:
gulp prepare-test
xvfb-run -a yarn test
- name: Install VSCE
run: yarn global add vsce

- name: Build extension package
id: build_vsix
run: |
vsce package;
yarn run vsce package;
echo ::set-output name=vsix_path::$(ls *.vsix);
- name: Create release on GitHub
Expand All @@ -62,6 +59,6 @@ jobs:
asset_content_type: application/zip

- name: Publish to VSCode Extension Marketplace
run: vsce publish --yarn
run: yarn run vsce publish --yarn
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@
"ts-loader": "8.0.9",
"tslint": "6.1.3",
"typescript": "4.1.2",
"vsce": "1.81.1",
"vscode-test": "1.4.1",
"webpack": "5.10.0",
"webpack-cli": "4.2.0",
Expand Down
Loading

0 comments on commit e8693fc

Please sign in to comment.