Skip to content

Commit

Permalink
extension: add extension release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Dec 30, 2023
1 parent 76e6119 commit af93051
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/extension-release.yml
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 }}

0 comments on commit af93051

Please sign in to comment.