@@ -44,16 +44,16 @@ jobs:
4444 run : rustup show
4545
4646 - name : Build Linux tool
47- run : cargo build --target x86_64-unknown-linux-gnu -p inputmodule-control
47+ run : cargo build --release -- target x86_64-unknown-linux-gnu -p inputmodule-control
4848
4949 - name : Check if Linux tool can start
50- run : cargo run --target x86_64-unknown-linux-gnu -p inputmodule-control -- --help
50+ run : cargo run --release -- target x86_64-unknown-linux-gnu -p inputmodule-control -- --help
5151
5252 - name : Upload Linux tool
5353 uses : actions/upload-artifact@v3
5454 with :
5555 name : inputmodule-control
56- path : target/x86_64-unknown-linux-gnu/debug /inputmodule-control
56+ path : target/x86_64-unknown-linux-gnu/release /inputmodule-control
5757
5858 build-windows :
5959 name : Build Windows
@@ -65,16 +65,16 @@ jobs:
6565 run : rustup show
6666
6767 - name : Build Windows tool
68- run : cargo build --target x86_64-pc-windows-msvc -p inputmodule-control
68+ run : cargo build --release -- target x86_64-pc-windows-msvc -p inputmodule-control
6969
7070 - name : Check if Windows tool can start
71- run : cargo run --target x86_64-pc-windows-msvc -p inputmodule-control -- --help
71+ run : cargo run --release -- target x86_64-pc-windows-msvc -p inputmodule-control -- --help
7272
7373 - name : Upload Windows App
7474 uses : actions/upload-artifact@v3
7575 with :
7676 name : inputmodule-control.exe
77- path : target/x86_64-pc-windows-msvc/debug /inputmodule-control.exe
77+ path : target/x86_64-pc-windows-msvc/release /inputmodule-control.exe
7878
7979 lints :
8080 name : Lints
0 commit comments