From 97475c48221fcbed4e4912d266b6e4c80c8d2ecb Mon Sep 17 00:00:00 2001 From: zhucong Date: Sun, 26 Jan 2025 16:51:45 +0800 Subject: [PATCH] fix: vfox install failure in test workflow --- .github/workflows/vfox-test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vfox-test.yaml b/.github/workflows/vfox-test.yaml index 90587ff..6d851da 100644 --- a/.github/workflows/vfox-test.yaml +++ b/.github/workflows/vfox-test.yaml @@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest] python-version: [3.12.2] mirror: ["", "https://mirrors.huaweicloud.com/python/"] @@ -35,7 +35,9 @@ jobs: - name: Install vfox shell: bash run: | - curl -sSL https://raw.githubusercontent.com/version-fox/vfox/main/install.sh | bash + for i in {1..10}; do + curl -sSL https://raw.githubusercontent.com/version-fox/vfox/main/install.sh | bash && break || sleep 5; + done vfox --version - name: Install plugin