Skip to content

Commit 9ecbcfa

Browse files
hamzaremmalWojciechMazur
authored andcommitted
Use bash shell when using here-strings (scala#21817)
<img width="1032" alt="Screenshot 2024-10-20 at 07 14 49" src="https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786"> [positive](https://github.com/WojciechMazur/dotty/actions/runs/11416876799/job/31768568868) test in scala#21810 also uses `bash` instead of `sh` Closes scala#21815 [Cherry-picked 022b1ff]
1 parent fcec4a8 commit 9ecbcfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .github/workflows/ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ jobs:
581581
echo "THISBUILD_VERSION=$ver" >> $GITHUB_ENV
582582
583583
- name: Check is version matching pattern
584+
shell: bash
584585
run: |
585586
if ! grep -Eo "3\.[0-9]+\.[0-9]+-RC[0-9]+-bin-[0-9]{8}-[a-zA-Z0-9]{7}-NIGHTLY" <<< "${{ env.THISBUILD_VERSION }}"; then
586587
echo "Version used by compiler to publish nightly release does not match expected pattern"

0 commit comments

Comments
 (0)