Skip to content

Commit 0922289

Browse files
nanbertnanbert
authored andcommitted
fix: 修复 Prepare Linux artifacts 中的 cp 命令
- 去掉通配符,明确指定文件名 - 避免多个源文件时目标路径冲突
1 parent 9112c89 commit 0922289

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
rm -rf release/tank_battle
8181
mkdir -p release/tank_battle
8282
cp -r assets release/tank_battle/
83-
cp target/x86_64-unknown-linux-gnu/release/tank_battle* release/tank_battle/tank_battle
83+
cp target/x86_64-unknown-linux-gnu/release/tank_battle release/tank_battle/tank_battle
8484
cp COPYRIGHT LICENSE README.md release/tank_battle/
8585
cd release
8686
tar czf ../tank_battle_linux_x64.tar.gz tank_battle/

0 commit comments

Comments
 (0)