From 24d9a86bdcedf3563dd6201e2e4c01918b149523 Mon Sep 17 00:00:00 2001 From: sonesuke Date: Sun, 15 Feb 2026 19:28:15 +0900 Subject: [PATCH] fix(ci): use bash shell for release workflow compatibility on Windows --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d18cbc..fb78bc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: on_main: ${{ steps.check.outputs.on_main }} steps: - name: Set git default branch + shell: bash run: | git config --global init.defaultBranch main git config --global advice.detachedHead false @@ -63,6 +64,7 @@ jobs: steps: - name: Set git default branch + shell: bash run: | git config --global init.defaultBranch main git config --global advice.detachedHead false @@ -79,6 +81,7 @@ jobs: run: cargo install cross --git https://github.com/cross-rs/cross - name: Build + shell: bash run: | if [ "${{ matrix.use_cross }}" == "true" ]; then cross build --release --target ${{ matrix.target }} @@ -110,6 +113,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set git default branch + shell: bash run: | git config --global init.defaultBranch main git config --global advice.detachedHead false @@ -140,6 +144,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set git default branch + shell: bash run: | git config --global init.defaultBranch main git config --global advice.detachedHead false