-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a69fcdc
commit fb964f9
Showing
4 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,38 @@ | ||
# Whenever any tag is pushed to the repo | ||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
|
||
name: Deploy Extension | ||
name: Publish extension | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.3.0 | ||
- uses: actions/setup-node@v3.6.0 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
- run: npm ci | ||
- run: npm run package | ||
- name: Publish to Open VSX Registry | ||
uses: HaaLeo/publish-vscode-extension@v1 | ||
with: | ||
# Generated via https://open-vsx.org/user-settings/tokens | ||
# Saved locally as "CI VS Code Open VSX publish token" | ||
pat: ${{ secrets.OPEN_VSX_TOKEN }} | ||
extensionFile: 'ahkpp.vsix' | ||
# dryRun: true | ||
# preRelease: true | ||
skipDuplicate: true | ||
- name: Publish to Visual Studio Marketplace | ||
uses: HaaLeo/publish-vscode-extension@v1 | ||
with: | ||
# https://github.com/mark-wiemer-org/ahkpp/settings/secrets/actions | ||
# https://dev.azure.com/markwiemer/_usersSettings/tokens | ||
# Saved locally as "CI VS Code Marketplace Publish Token" | ||
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | ||
extensionFile: 'ahkpp.vsix' | ||
registryUrl: https://marketplace.visualstudio.com | ||
# dryRun: true | ||
# preRelease: true | ||
skipDuplicate: true |
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
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
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