Skip to content

Commit 5824bae

Browse files
committed
再试试
1 parent 5126b20 commit 5824bae

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ jobs:
2323

2424
- name: 安装工具
2525
run: |
26-
sudo apt-get update
2726
sudo apt-get install -y curl 7zip tar git gcc mingw-w64 make perl
2827
2928
- name: 构建
3029
run: |
3130
chmod +x nginx-builder.sh
32-
sh ./nginx-builder.sh windows x86_64-w64-mingw32-gcc x86_64
3331
sh ./nginx-builder.sh windows i686-w64-mingw32-gcc x86
32+
sh ./nginx-builder.sh windows x86_64-w64-mingw32-gcc x86_64
3433
3534
- name: 校验
3635
run: |

nginx-builder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cd ..
2323

2424
echo "Step 1: 构建 $1 版本"
2525
echo "Step 1.1: 配置"
26-
if [ "$1" == "windows" ]; then
26+
if "$1" == "windows" ; then
2727
$RUNPATH/configure-win.sh $2 $CURRENT_TIME
2828
else
2929
$RUNPATH/configure-linux.sh $2 $CURRENT_TIME

0 commit comments

Comments
 (0)