Skip to content

Commit f447189

Browse files
authored
fix: [release-0.15] os to runner_os (#905)
1 parent 53ad1a8 commit f447189

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/cargo-binstall-cbindgen/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
- name: Install cbindgen
1010
shell: bash
1111
run: |
12-
case "$OS" in
12+
case "$RUNNER_OS" in
1313
Windows)
1414
cargo install cbindgen --version ${{ inputs.version }};;
1515
macOS | Linux )

.github/workflows/build_and_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ jobs:
231231
- name: Rename the binary
232232
shell: bash
233233
run: |
234-
case "$OS" in
234+
case "$RUNNER_OS" in
235235
Windows) exe_suffix=.exe;;
236236
Linux | macOS) exe_suffix=;;
237237
esac

0 commit comments

Comments
 (0)