Skip to content

Commit f0bfee2

Browse files
committed
ci: use retry.sh for the pkg install in termux_ci.yml to reduce false positives.
1 parent d5458b5 commit f0bfee2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/prebuilt.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Download V
1414
run: |
15-
.github/workflows/retry.sh https://github.com/vlang/v/releases/latest/download/v_linux.zip
15+
.github/workflows/retry.sh wget https://github.com/vlang/v/releases/latest/download/v_linux.zip
1616
unzip v_linux.zip
1717
cd v
1818
./v -version
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- name: Download V
3131
run: |
32-
.github/workflows/retry.sh https://github.com/vlang/v/releases/latest/download/v_macos_arm64.zip
32+
.github/workflows/retry.sh wget https://github.com/vlang/v/releases/latest/download/v_macos_arm64.zip
3333
unzip v_macos_arm64.zip
3434
cd v
3535
./v -version
@@ -45,7 +45,7 @@ jobs:
4545
steps:
4646
- name: Download V
4747
run: |
48-
.github/workflows/retry.sh https://github.com/vlang/v/releases/latest/download/v_macos_x86_64.zip
48+
.github/workflows/retry.sh wget https://github.com/vlang/v/releases/latest/download/v_macos_x86_64.zip
4949
unzip v_macos_x86_64.zip
5050
cd v
5151
./v -version

‎.github/workflows/termux_ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- name: Build and test in Termux
2727
run: |
28-
set -o xtrace
28+
set -o xtrace
2929
echo "$PWD"
3030
whoami
3131
touch outside_docker.txt
@@ -38,8 +38,8 @@ jobs:
3838
cp -r /src ~/vproject; cd ~/vproject
3939
touch inside_docker.txt
4040
ls -la
41-
pkg update -y
42-
pkg install -y clang libexecinfo libgc libgc-static make git
41+
.github/workflows/retry.sh pkg update -y
42+
.github/workflows/retry.sh pkg install -y clang libexecinfo libgc libgc-static make git
4343
git log -n4
4444
VFLAGS="-cc cc -os termux" make
4545
./v symlink

0 commit comments

Comments
 (0)