File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,13 @@ jobs:
32
32
key : " release-lto"
33
33
- run : cargo build --target=${{ matrix.target }} --profile=release-lto
34
34
- run : |
35
+ cp target/${{ matrix.target }}/release-lto/${{ matrix.bin }} ${{ matrix.bin }}
36
+
35
37
if [[ "${{ matrix.os }}" == "windows-latest" ]]
36
38
then
37
- 7z a ${{ matrix.target}}.${{ matrix.suffix }} target/ ${{ matrix.target }}/release-lto/${{ matrix. bin }}
39
+ 7z a ${{ matrix.target}}.${{ matrix.suffix }} ${{ matrix.bin }}
38
40
else
39
- tar czvf ${{ matrix.target}}.${{ matrix.suffix }} target/ ${{ matrix.target }}/release-lto/${{ matrix. bin }}
41
+ tar czvf ${{ matrix.target}}.${{ matrix.suffix }} ${{ matrix.bin }}
40
42
fi
41
43
- name : Upload build artifacts
42
44
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments