Skip to content

Commit

Permalink
Fix windows build as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarx committed Jan 24, 2025
1 parent 7a3e87b commit ca7f095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
runs-on: ubuntu-22.04
target: aarch64-unknown-linux-gnu

- os-name: windows-gnu
- os-name: windows-msvc
runs-on: windows-latest
target: x86_64-pc-windows-gnu
target: x86_64-pc-windows-msvc

- os-name: macOS-x86_64
runs-on: macOS-latest
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
mkdir -p "$name"
cp {README.md,LICENSE-APACHE,LICENSE-MIT} "$name"
if [ "${{ matrix.platform.os-name }}" = "windows-gnu" ]; then
if [ "${{ matrix.platform.runs-on }}" = "windows-latest ]; then
cp "target/${{ matrix.platform.target }}/release/nmo.exe" "$name/"
asset=$name.zip
7z a "$asset" "$name"
Expand Down

0 comments on commit ca7f095

Please sign in to comment.