Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ntotten committed Jun 17, 2020
1 parent a133589 commit ab34211
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: yarn vscode:package
- run: npm install -g vsce
- run: vsce package
- uses: actions/upload-artifact@v2
with:
path: "*.vsix"
Expand All @@ -64,7 +65,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: yarn install
- run: yarn vscode:package
- run: npm install -g vsce
- run: vsce package
- uses: actions/upload-artifact@v2
with:
path: "*.vsix"
Expand All @@ -88,3 +90,4 @@ jobs:
asset_path: ${{ env.VSIX_PATH }}
asset_name: ${{ env.VSIX_NAME }}
asset_content_type: application/zip
- run: vsce publish -p ${{ secrets.MARKETPLACE_TOKEN }}
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
"test-compile": "yarn clean && tsc -p ./ && yarn webpack",
"test": "node ./out/test/runTests.js",
"version": "node ./scripts/version.js && git add CHANGELOG.md",
"vscode:package": "vsce package",
"vscode:publish": "vsce publish",
"vscode:prepublish": "webpack --mode production",
"watch": "tsc --watch -p ./",
"webpack-dev": "webpack --mode development --watch",
Expand Down

0 comments on commit ab34211

Please sign in to comment.