From 8ca411a64b2ba04063a19977301b67498a7ee18e Mon Sep 17 00:00:00 2001 From: ospab Date: Tue, 7 Jul 2026 18:04:21 +0300 Subject: [PATCH] Fix github actions: remove working-directory for ostp-control to avoid failure when absent --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b43f29d..8776d2e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,14 +147,14 @@ jobs: with: node-version: 20 - name: Build Web Panel (skip if no source; use committed dist/) - working-directory: ostp-control shell: bash run: | + mkdir -p ostp-control/dist + cd ostp-control if [ -f package.json ]; then npm install && npm run build else echo "ostp-control has no package.json — using committed dist/" - mkdir -p dist [ -f dist/index.html ] || echo 'OSTP' > dist/index.html fi