We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5126b20 commit 5824baeCopy full SHA for 5824bae
.github/workflows/build.yml
@@ -23,14 +23,13 @@ jobs:
23
24
- name: 安装工具
25
run: |
26
- sudo apt-get update
27
sudo apt-get install -y curl 7zip tar git gcc mingw-w64 make perl
28
29
- name: 构建
30
31
chmod +x nginx-builder.sh
32
- sh ./nginx-builder.sh windows x86_64-w64-mingw32-gcc x86_64
33
sh ./nginx-builder.sh windows i686-w64-mingw32-gcc x86
+ sh ./nginx-builder.sh windows x86_64-w64-mingw32-gcc x86_64
34
35
- name: 校验
36
nginx-builder.sh
@@ -23,7 +23,7 @@ cd ..
echo "Step 1: 构建 $1 版本"
echo "Step 1.1: 配置"
-if [ "$1" == "windows" ]; then
+if "$1" == "windows" ; then
$RUNPATH/configure-win.sh $2 $CURRENT_TIME
else
$RUNPATH/configure-linux.sh $2 $CURRENT_TIME
0 commit comments