Skip to content

Commit

Permalink
fix windows again...
Browse files Browse the repository at this point in the history
  • Loading branch information
jigsawye committed Nov 10, 2024
1 parent 9d784c7 commit 6522b71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
- name: Build binary
shell: bash
run: |
if [[ "${{ matrix.target }}" == "aarch64-unknown-linux-gnu" ]]; then
if [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
export CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc
export CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++
Expand All @@ -69,7 +70,7 @@ jobs:
shell: bash
run: |
mkdir -p packages/${{ matrix.name }}/bin
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
if [ "${{ matrix.os }}" = "windows-latest" ]; then
cp target/${{ matrix.target }}/release/swagit.exe packages/${{ matrix.name }}/bin
else
cp target/${{ matrix.target }}/release/swagit packages/${{ matrix.name }}/bin
Expand Down

0 comments on commit 6522b71

Please sign in to comment.