Skip to content

Commit 7524e54

Browse files
committed
Copy matrix bin
1 parent 60bfff0 commit 7524e54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ jobs:
3232
key: "release-lto"
3333
- run: cargo build --target=${{ matrix.target }} --profile=release-lto
3434
- run: |
35+
cp target/${{ matrix.target }}/release-lto/${{ matrix.bin }} ${{ matrix.bin }}
36+
3537
if [[ "${{ matrix.os }}" == "windows-latest" ]]
3638
then
37-
7z a ${{ matrix.target}}.${{ matrix.suffix }} target/${{ matrix.target }}/release-lto/${{ matrix.bin }}
39+
7z a ${{ matrix.target}}.${{ matrix.suffix }} ${{ matrix.bin }}
3840
else
39-
tar czvf ${{ matrix.target}}.${{ matrix.suffix }} target/${{ matrix.target }}/release-lto/${{ matrix.bin }}
41+
tar czvf ${{ matrix.target}}.${{ matrix.suffix }} ${{ matrix.bin }}
4042
fi
4143
- name: Upload build artifacts
4244
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)