Skip to content

Commit bd6569f

Browse files
committed
fix: skip docker check in CI, fix Windows path
1 parent 29019bc commit bd6569f

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
include:
6767
- os: macos-latest
6868
target: macos-arm64
69+
- os: macos-latest
70+
target: macos-x86_64
6971
- os: ubuntu-latest
7072
target: linux-x86_64
7173
- os: windows-latest
@@ -92,7 +94,7 @@ jobs:
9294
shell: bash
9395
run: |
9496
chmod +x scripts/install-test.sh
95-
VERSION=${{ steps.version.outputs.version }} LOCAL_BINARY_DIR=${{ github.workspace }}/dist/release ./scripts/install-test.sh
97+
VERSION=${{ steps.version.outputs.version }} LOCAL_BINARY_DIR="$(pwd)/dist/release" ./scripts/install-test.sh
9698
9799
- name: Verify installation
98100
shell: bash

scripts/install-test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,11 @@ if [ "$SKIP_DOWNLOAD" = false ]; then
314314
fi
315315
setup_path
316316
verify_installation
317-
check_docker
317+
318+
# Skip docker check in CI/test mode
319+
if [ -z "$LOCAL_BINARY_DIR" ]; then
320+
check_docker
321+
fi
318322

319323
echo ""
320324
echo -e "${CYAN}"

0 commit comments

Comments
 (0)