Skip to content

Commit a97eff7

Browse files
authored
fix: archive bin name
1 parent 8259447 commit a97eff7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/build-binaries.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
os: macos-latest
2727
- target: x86_64-unknown-linux-gnu
2828
os: ubuntu-latest
29-
- target: x86_64-apple-darwin
30-
os: macos-latest
3129
- target: x86_64-pc-windows-msvc
3230
os: windows-latest
3331
runs-on: ${{ matrix.os }}
@@ -42,7 +40,19 @@ jobs:
4240

4341
- uses: taiki-e/upload-rust-binary-action@v1
4442
with:
45-
bin: client,server
43+
bin: client
44+
target: ${{ matrix.target }}
45+
ref: refs/tags/${{ inputs.publish-tag }}
46+
tar: all
47+
zip: windows
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1
51+
CARGO_PROFILE_RELEASE_LTO: true
52+
53+
- uses: taiki-e/upload-rust-binary-action@v1
54+
with:
55+
bin: server
4656
target: ${{ matrix.target }}
4757
ref: refs/tags/${{ inputs.publish-tag }}
4858
tar: all

0 commit comments

Comments
 (0)