Skip to content

Commit f3a97f9

Browse files
committed
fix: deb ci
1 parent 1719fe3 commit f3a97f9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ jobs:
6969
run: |
7070
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
7171
cargo install cargo-deb
72-
RUSTFLAGS="-Cllvm-args=-pgo-warn-missing-function -Cprofile-use=$(pwd)/pgo-data/merged.profdata" cargo deb
73-
deb_path=$(find ./target/debian/ -type f -name 'hck*')
7472
asset_path="${{ matrix.asset_name }}.deb"
75-
mv "${deb_path}" "${asset_path}"
73+
RUSTFLAGS="-Cllvm-args=-pgo-warn-missing-function -Cprofile-use=$(pwd)/pgo-data/merged.profdata" cargo deb --output ./"${asset_path}"
7674
echo "DEB=${asset_path}" >> $GITHUB_ENV
7775
fi
7876

0 commit comments

Comments
 (0)