Skip to content

Merge pull request #37 from theodevelop/dev #64

Merge pull request #37 from theodevelop/dev

Merge pull request #37 from theodevelop/dev #64

Workflow file for this run

name: Publish to Open VSX

Check failure on line 1 in .github/workflows/publish-ovsx.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-ovsx.yml

Invalid workflow file

(Line: 28, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.OVSX_PAT != ''
on:
push:
tags:
- "v*"
jobs:
publish-ovsx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build VSIX
run: npx vsce package
- name: Publish to Open VSX
if: ${{ secrets.OVSX_PAT != '' }}
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
run: npx ovsx publish *.vsix --pat "$OVSX_PAT"