Skip to content

Commit e31da8f

Browse files
committed
fix the release binary name
1 parent 0a9db26 commit e31da8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
include:
3535
- os: ubuntu-20.04
3636
target: x86_64-unknown-linux-gnu
37-
binary_name: decent-cloud
37+
binary_name: dc
3838
asset_name: decent-cloud-linux-amd64
3939
- os: macos-latest
4040
target: x86_64-apple-darwin
41-
binary_name: decent-cloud
41+
binary_name: dc
4242
asset_name: decent-cloud-darwin-amd64
4343
- os: ubuntu-20.04
4444
target: x86_64-pc-windows-gnu
45-
binary_name: decent-cloud.exe
45+
binary_name: dc.exe
4646
asset_name: decent-cloud-windows-amd64.exe
4747

4848
runs-on: ${{ matrix.os }}
@@ -64,9 +64,9 @@ jobs:
6464
run: |
6565
if [ "${{ matrix.target }}" = "x86_64-pc-windows-gnu" ]; then
6666
cargo install cross --git https://github.com/cross-rs/cross
67-
cross build --release --target ${{ matrix.target }} -p dc
67+
cross build --release --target ${{ matrix.target }} --bin dc
6868
else
69-
cargo build --release --target ${{ matrix.target }} -p dc
69+
cargo build --release --target ${{ matrix.target }} --bin dc
7070
fi
7171
7272
- name: Prepare binary

0 commit comments

Comments
 (0)