Skip to content

fixed publish workflow #7

fixed publish workflow

fixed publish workflow #7

Workflow file for this run

name: "publish vscode extension"
on: push
jobs:
publish:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: checkout
uses: actions/checkout@v2
- name: node
uses: actions/setup-node@v2
with:
node-version: 18
registry-url: https://registry.npmjs.org
- run: npm run install:all
- run: npm install @vscode/vsce
- run: vsce package
- run: echo ${{VSCE_PAT}} | vsce login ${{VSCE_USER}}
env:

Check failure on line 21 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
VSCE_USER: ${{variables.VSCE_USER}}
VSCE_PAT: ${{secrets.VSCE_PAT}}
- name: publish
run: vsce publish