From 13130e9dd48b2b835dd2f2fc1ecaa388330537c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Wed, 9 Jul 2025 22:36:37 +0800 Subject: [PATCH] fix: add missing OSSUTIL_BIN variable in linux case branch (#141) * fix: improve ossutil install logic in GitHub Actions workflow * wip * wip * fix: add missing OSSUTIL_BIN variable in linux case branch --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7cdf6897..50a92128 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -203,7 +203,7 @@ jobs: run: | PACKAGE_NAME="rustfs-${{ matrix.target }}" - # Create zip packages for all platforms + # Create zip packages for all platforms # Ensure zip is available if ! command -v zip &> /dev/null; then if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then @@ -250,6 +250,7 @@ jobs: mv "${OSSUTIL_DIR}/ossutil" /usr/local/bin/ rm -rf "$OSSUTIL_DIR" "$OSSUTIL_ZIP" chmod +x /usr/local/bin/ossutil + OSSUTIL_BIN=ossutil ;; macos) if [[ "$(uname -m)" == "arm64" ]]; then @@ -267,9 +268,6 @@ jobs: chmod +x /usr/local/bin/ossutil OSSUTIL_BIN=ossutil ;; - # windows) - # ζš‚δΈζ”―ζŒ Windows ossutil - # ;; esac # Upload the package file directly to OSS