Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Jan 1, 2025
1 parent a54e790 commit d4aa00a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d4aa00a

Please sign in to comment.