From 433743b250e4b4e2960539d40ff14c6c456c8e58 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 29 May 2025 11:30:24 +0400 Subject: [PATCH] chore: instead of cd to nodecar, switch working directory --- .github/workflows/lint-js.yml | 2 +- .github/workflows/lint-rs.yml | 7 +++---- .github/workflows/release.yml | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index f60c72c..f6ae5d5 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -41,8 +41,8 @@ jobs: run: pnpm install --frozen-lockfile - name: Install nodecar dependencies + working-directory: ./nodecar run: | - cd nodecar pnpm install --frozen-lockfile - name: Run lint step diff --git a/.github/workflows/lint-rs.yml b/.github/workflows/lint-rs.yml index 0f84fed..02e3669 100644 --- a/.github/workflows/lint-rs.yml +++ b/.github/workflows/lint-rs.yml @@ -56,14 +56,13 @@ jobs: run: pnpm install --frozen-lockfile - name: Install nodecar dependencies - run: | - cd nodecar - pnpm install --frozen-lockfile + working-directory: ./nodecar + run: pnpm install --frozen-lockfile - name: Build nodecar binary shell: bash + working-directory: ./nodecar run: | - cd nodecar if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then pnpm run build:linux-x64 elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdb5168..68f1160 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,14 +87,14 @@ jobs: run: pnpm install --frozen-lockfile - name: Install nodecar dependencies + working-directory: ./nodecar run: | - cd nodecar pnpm install --frozen-lockfile - name: Build nodecar sidecar shell: bash + working-directory: ./nodecar run: | - cd nodecar pnpm run ${{ matrix.nodecar_script }} - name: Copy nodecar binary to Tauri binaries