From 180f8c8a3e69e52a0648ac9e94ff1fa03e0264a0 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Fri, 30 May 2025 00:35:13 +0400 Subject: [PATCH] chore: use bash on windows build --- .github/workflows/lint-rs.yml | 1 + .github/workflows/release.yml | 1 + .github/workflows/rolling-release.yml | 22 +--------------------- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/lint-rs.yml b/.github/workflows/lint-rs.yml index f7cc886..e625159 100644 --- a/.github/workflows/lint-rs.yml +++ b/.github/workflows/lint-rs.yml @@ -73,6 +73,7 @@ jobs: fi - name: Copy nodecar binary to Tauri binaries + shell: bash run: | mkdir -p src-tauri/binaries if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 083271f..365bf37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,6 +119,7 @@ jobs: pnpm run ${{ matrix.nodecar_script }} - name: Copy nodecar binary to Tauri binaries + shell: bash run: | mkdir -p src-tauri/binaries if [[ "${{ matrix.platform }}" == "windows-latest" ]]; then diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index 86d0171..6290ed2 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -10,28 +10,7 @@ env: TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} jobs: - # Wait for linting jobs to complete first - wait-for-linting: - runs-on: ubuntu-latest - steps: - - name: Wait for Rust linting to complete - uses: lewagon/wait-on-check-action@v1.3.4 - with: - ref: ${{ github.ref }} - check-name: "Lint Rust" - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 10 - - - name: Wait for JavaScript linting to complete - uses: lewagon/wait-on-check-action@v1.3.4 - with: - ref: ${{ github.ref }} - check-name: "Lint Node.js" - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 10 - rolling-release: - needs: wait-for-linting permissions: contents: write strategy: @@ -88,6 +67,7 @@ jobs: pnpm run ${{ matrix.nodecar_script }} - name: Copy nodecar binary to Tauri binaries + shell: bash run: | mkdir -p src-tauri/binaries cp nodecar/dist/nodecar src-tauri/binaries/nodecar-${{ matrix.target }}