Skip to content

add working-directories #8

add working-directories

add working-directories #8

Workflow file for this run

on:
push:
branches:
- vscode_publish
tags:
- "*"
name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
working-directory: ./tools/vscode

Check failure on line 15 in .github/workflows/vscode.yaml

View workflow run for this annotation

GitHub Actions / Deploy Extension

Invalid workflow file

The workflow is not valid. .github/workflows/vscode.yaml (Line: 15, Col: 9): Unexpected value 'working-directory' .github/workflows/vscode.yaml (Line: 23, Col: 9): Unexpected value 'uses'
with:
node-version: 21
- name: Node Clean Install
working-directory: ./tools/vscode
run: npm ci
- name: Publish to Visual Studio Marketplace
working-directory: ./tools/vscode
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
skipDuplicate: true