Skip to content

Commit a063a67

Browse files
authored
Merge pull request #6 from devigned/fix-runner-os
add the runner os release env var
2 parents 6f1c35d + b310c75 commit a063a67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
- uses: actions/checkout@v2
3030
- name: Set RELEASE_VERSION ENV var
3131
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
32+
- name: lowercase the runner OS name
33+
shell: bash
34+
run: |
35+
OS=$(echo "${{ runner.os }}" | tr '[:upper:]' '[:lower:]')
36+
echo "RUNNER_OS=$OS" >> $GITHUB_ENV
3237
- name: Install latest Rust stable toolchain
3338
uses: actions-rs/toolchain@v1
3439
with:

0 commit comments

Comments
 (0)