Skip to content

Commit

Permalink
Use bash shell when using here-strings (scala#21817)
Browse files Browse the repository at this point in the history
<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]
  • Loading branch information
hamzaremmal authored and WojciechMazur committed Dec 5, 2024
1 parent fcec4a8 commit 9ecbcfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ jobs:
echo "THISBUILD_VERSION=$ver" >> $GITHUB_ENV
- name: Check is version matching pattern
shell: bash
run: |
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
echo "Version used by compiler to publish nightly release does not match expected pattern"
Expand Down

0 comments on commit 9ecbcfa

Please sign in to comment.