Archive todos binary before building deb pkg

This commit is contained in:
Héctor Ramón Jiménez 2019-11-15 05:53:16 +01:00
parent 5f87d3d7a5
commit 2cbd5d60c4

View file

@ -31,15 +31,15 @@ jobs:
echo 'Type=Application' >> iced-todos.desktop
- name: Build todos binary
run: cargo build --verbose --release --example todos
- name: Build todos .deb package
run: cargo deb --variant todos -- --example todos
- name: Rename todos .deb package
run: mv target/debian/*.deb target/debian/iced_todos-x86_64-debian-linux-gnu.deb
- name: Archive todos binary
uses: actions/upload-artifact@v1
with:
name: todos-x86_64-unknown-linux-gnu
path: target/release/examples/todos
- name: Build todos .deb package
run: cargo deb --variant todos -- --example 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
uses: actions/upload-artifact@v1
with: