Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit fb59b41

Browse files
committed
Fix Windows build
1 parent 7d1fa07 commit fb59b41

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/rust.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ jobs:
2222
name: RealFS-linux-x86_64
2323
path: ./target/release/realfs
2424
- name: Add Windows build target
25-
run: rustup target add x86_64-pc-windows-gnu
25+
run: |
26+
sudo apt-get install -y mingw-w64
27+
rustup target add x86_64-pc-windows-gnu
2628
- name: Build Windows x86_64
2729
run: cargo build --target x86_64-pc-windows-gnu --release --verbose
2830
- name: Upload a Build Artifact
2931
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
3032
with:
3133
name: RealFS-windows-x86_64
32-
path: ./target/release/RealFS.exe
34+
path: ./target/x86_64-pc-windows-gnu/release/realfs.exe

0 commit comments

Comments
 (0)