version bump, added some attribution #5
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
name: Publish VS Code Extension | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
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: '18' | |
- 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 |