Skip to content

Commit 2a08f83

Browse files
committed
fix(ci): resolve matrix.shell expression error in release workflow
1 parent 8f996c4 commit 2a08f83

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
shell: bash
3535
- runner: windows-latest
3636
platform: windows-x86_64
37-
shell: msys2
37+
shell: "msys2 {0}"
3838

3939
steps:
4040
- uses: actions/checkout@v4
@@ -86,7 +86,7 @@ jobs:
8686
mingw-w64-x86_64-curl
8787
8888
- name: Build graft
89-
shell: ${{ matrix.shell == 'msys2' && 'msys2 {0}' || 'bash' }}
89+
shell: ${{ matrix.shell }}
9090
run: |
9191
set -euo pipefail
9292
rpath='$ORIGIN'
@@ -109,7 +109,7 @@ jobs:
109109
cmake --build build --parallel
110110
111111
- name: Package release asset
112-
shell: ${{ matrix.shell == 'msys2' && 'msys2 {0}' || 'bash' }}
112+
shell: ${{ matrix.shell }}
113113
run: bash scripts/package-release.sh "${{ matrix.platform }}"
114114

115115
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)