Skip to content

Commit 99de8a5

Browse files
fix(release): use bash shell for cross-platform compatibility
Windows runners default to PowerShell which doesn't support [[ ]] syntax. Adding 'shell: bash' ensures consistent bash syntax across all platforms. This fixes: ParserError: Missing '(' after 'if' in if statement Signed-off-by: Michael A. Kuykendall <michaelallenkuykendall@gmail.com>
1 parent 7fe5487 commit 99de8a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ jobs:
184184
sudo apt-get install -y musl-tools musl-dev
185185
186186
- name: Build binary
187+
shell: bash
187188
run: |
188189
if [[ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]]; then
189190
# For musl builds, use huggingface-only to avoid llama.cpp C++ compilation issues

0 commit comments

Comments
 (0)