-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extension: add extension release workflow
- Loading branch information
1 parent
76e6119
commit af93051
Showing
1 changed file
with
22 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
extension-release: | ||
name: Release Extension | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: npm ci | ||
working-directory: stylua-vscode | ||
|
||
- name: Publish VSCode Extension | ||
working-directory: stylua-vscode | ||
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} | ||
|
||
- name: Publish OpenVSX Extension | ||
working-directory: stylua-vscode | ||
run: npx ovsx publish --pat ${{ secrets.OVSX_TOKEN }} |