Use proper profile for cargo-deb in build workflow

This commit is contained in:
Héctor Ramón 2022-07-14 19:11:25 +02:00 committed by GitHub
parent 34b691fdd4
commit 2883aa31bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ jobs:
name: todos-x86_64-unknown-linux-gnu
path: target/release-opt/todos
- name: Pack todos .deb package
run: cargo deb --no-build --package todos
run: cargo deb --no-build --profile release-opt --package todos
- name: Rename todos .deb package
run: mv target/debian/*.deb target/debian/iced_todos-x86_64-debian-linux-gnu.deb
- name: Archive todos .deb package