Skip to content

Commit ea0e169

Browse files
ci: rewrite the function in plain shell
1 parent c114b87 commit ea0e169

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build-all.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,11 @@ jobs:
114114
cache: 'gradle'
115115
- name: Detect runner's OS
116116
id: os
117-
run: |
118-
echo "os=${{ tolower(runner.os) }}" >> $GITHUB_OUTPUT
119117
shell: bash
118+
run: |
119+
os=$(echo "${{ runner.os }}" | tr '[:upper:]' '[:lower:]')
120+
echo "os=$os" >> $GITHUB_OUTPUT
121+
echo "detected os: $os"
120122
121123
- name: Install build dependencies (Linux)
122124
if: steps.os.output.os == 'linux'

0 commit comments

Comments
 (0)