From f447189faf24f5c8e49371ee570d709ff939006b Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Thu, 26 Dec 2024 06:25:14 +0900 Subject: [PATCH] fix: [release-0.15] os to runner_os (#905) --- .github/actions/cargo-binstall-cbindgen/action.yml | 2 +- .github/workflows/build_and_deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/cargo-binstall-cbindgen/action.yml b/.github/actions/cargo-binstall-cbindgen/action.yml index 0eb0f8f5d..303f1a7f4 100644 --- a/.github/actions/cargo-binstall-cbindgen/action.yml +++ b/.github/actions/cargo-binstall-cbindgen/action.yml @@ -9,7 +9,7 @@ runs: - name: Install cbindgen shell: bash run: | - case "$OS" in + case "$RUNNER_OS" in Windows) cargo install cbindgen --version ${{ inputs.version }};; macOS | Linux ) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 3a7a08355..5913ad583 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -231,7 +231,7 @@ jobs: - name: Rename the binary shell: bash run: | - case "$OS" in + case "$RUNNER_OS" in Windows) exe_suffix=.exe;; Linux | macOS) exe_suffix=;; esac