Skip to content

Commit d4a430b

Browse files
committed
fix: vfox install failure in test workflow
1 parent 76b6da8 commit d4a430b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/vfox-test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
os: [ubuntu-latest, macos-latest]
19+
os: [ubuntu-latest]
2020
python-version: [3.12.2]
2121
mirror: ["", "https://mirrors.huaweicloud.com/python/"]
2222

@@ -35,7 +35,9 @@ jobs:
3535
- name: Install vfox
3636
shell: bash
3737
run: |
38-
curl -sSL https://raw.githubusercontent.com/version-fox/vfox/main/install.sh | bash
38+
for i in {1..10}; do
39+
curl -sSL https://raw.githubusercontent.com/version-fox/vfox/main/install.sh | bash && break || sleep 5;
40+
done
3941
vfox --version
4042
4143
- name: Install plugin

0 commit comments

Comments
 (0)