Skip to content

Commit

Permalink
Create pulish.yml (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
talhabalaj authored Dec 29, 2023
1 parent 66823b5 commit af5c968
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pulish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish to VSCode Store
on:
release:
types:
- published
workflow_dispatch:
jobs:
package-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm ci
- run: npm i -g @vscode/vsce
- run: vsce package
- uses: actions/upload-artifact@v4.0.0
with:
path: "*.vsix"
- run: vsce publish -p $TOKEN
env:
TOKEN: ${{ secrets.VSCODE_PUBLISH_TOKEN }}

0 comments on commit af5c968

Please sign in to comment.