Skip to content

Commit fb39f9b

Browse files
committed
fix: Add bash shell specification for Windows release build
The Build Release Artifacts job was failing on Windows with PowerShell syntax errors when trying to execute bash if-statement syntax. Adding 'shell: bash' ensures the script runs in bash on all platforms including Windows runners. Error fixed: - ParserError: Missing '(' after 'if' in if statement - Windows runners default to PowerShell without explicit shell specification - Bash syntax requires explicit shell: bash on Windows GitHub Actions runners
1 parent 4ed86e5 commit fb39f9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/master-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ jobs:
522522
save-if: ${{ github.ref == 'refs/heads/main' }}
523523

524524
- name: Build release binary
525+
shell: bash
525526
run: |
526527
if [ "${{ matrix.cross }}" = "true" ]; then
527528
cross build --release --target ${{ matrix.target }} --bin rustirc

0 commit comments

Comments
 (0)