@@ -59,12 +59,12 @@ jobs:
5959 - store_artifacts :
6060 name : Store Build
6161 path : " ./target/release/library-loader"
62- destination : " /artifacts /library-loader"
62+ destination : " /linux /library-loader"
6363
6464 - store_artifacts :
6565 name : Store Build Checksum
6666 path : " ./target/release/library-loader.checksum"
67- destination : " /artifacts /library-loader.checksum"
67+ destination : " /linux /library-loader.checksum"
6868
6969 windows :
7070 docker :
@@ -118,7 +118,7 @@ jobs:
118118
119119 - run :
120120 name : Build Binary
121- command : cargo build --target=x86_64-pc-windows-gnu
121+ command : cargo build --release -- target=x86_64-pc-windows-gnu
122122
123123 - save_cache :
124124 key : cargo-cache-windows-{{ checksum "Cargo.lock" }}-{{ checksum "Cargo.toml" }}
@@ -130,24 +130,24 @@ jobs:
130130
131131 - run :
132132 name : " Generate hash file"
133- command : " cd target/x86_64-pc-windows-gnu && sha256sum library-loader.exe > library-loader.exe.checksum"
133+ command : " cd target/x86_64-pc-windows-gnu/release && sha256sum library-loader.exe > library-loader.exe.checksum"
134134
135135 - run :
136136 name : " Verify hash"
137- command : " cd target/x86_64-pc-windows-gnu && sha256sum -c library-loader.exe.checksum"
137+ command : " cd target/x86_64-pc-windows-gnu/release && sha256sum -c library-loader.exe.checksum"
138138
139139 - run :
140140 name : " Show hash"
141- command : " cd target/x86_64-pc-windows-gnu && cat library-loader.exe.checksum"
141+ command : " cd target/x86_64-pc-windows-gnu/release && cat library-loader.exe.checksum"
142142
143143 - store_artifacts :
144144 name : Store Build
145- path : " ./target/x86_64-pc-windows-gnu/library-loader.exe"
145+ path : " ./target/x86_64-pc-windows-gnu/release/ library-loader.exe"
146146 destination : " /windows/library-loader.exe"
147147
148148 - store_artifacts :
149149 name : Store Build Checksum
150- path : " ./target/x86_64-pc-windows-gnu/library-loader.exe.checksum"
150+ path : " ./target/x86_64-pc-windows-gnu/release/ library-loader.exe.checksum"
151151 destination : " /windows/library-loader.exe.checksum"
152152
153153workflows :
0 commit comments