Skip to content

Commit

Permalink
Create publish-extension.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin authored Oct 22, 2024
1 parent cf9f21b commit 43e35cb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish VS Code Extension

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install vsce
run: npm install -g vsce

- name: Publish Extension
env:
AZURE_ACCESS_TOKEN: ${{ secrets.AZURE_ACCESS_TOKEN }}
run: vsce publish -p $AZURE_ACCESS_TOKEN

0 comments on commit 43e35cb

Please sign in to comment.