diff --git a/.github/build-release.sh b/.github/build-release.sh index 81ae258..f775eb4 100755 --- a/.github/build-release.sh +++ b/.github/build-release.sh @@ -35,7 +35,7 @@ for target in "${targets[@]}"; do dst_dir=zig-out/${filename} # 1. Build - if [[ "${target}" == "x86_64-linux" ]];then + if [[ "${target}" = "x86_64-linux" ]];then zig build -Doptimize=ReleaseSafe -p ${dst_dir} \ -Dgit_commit=${GIT_COMMIT} -Dbuild_date=${BUILD_DATE} else diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9e69dd..5fbc641 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,6 +50,7 @@ jobs: - name: Build(Ubuntu) if: matrix.os == 'ubuntu-latest' run: | + sudo apt update && sudo apt-get install -y libcurl4-openssl-dev bash .github/build-release.sh - name: Build(MacOS) if: matrix.os == 'macos-latest'