diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-12-30 17:48:56 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 20:48:56 -0500 |
commit | 1481fe42827a835a3035e052d99e274a0ceccce7 (patch) | |
tree | 7b7cdcfa14c8860a9c592fa526324ba89c307bd9 /.github | |
parent | 456efdc242252a7a99a28ba80190bfcdbe13f7a2 (diff) |
ci: test installing .deb in build (#651)
Add an additional validation step to the .deb file generation in nightly and deployment workflows.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deployment.yml | 3 | ||||
-rw-r--r-- | .github/workflows/nightly.yml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 6197d9c8..e28085b1 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -344,6 +344,9 @@ jobs: cargo deb --no-build cp ./target/debian/bottom_*.deb ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Test Debian release + run: sudo dpkg -i ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Create release directory for artifact, move file shell: bash run: | diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d0d6cae1..851cde2c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -331,6 +331,9 @@ jobs: cargo deb --no-build cp ./target/debian/bottom_*.deb ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Test Debian release + run: sudo dpkg -i ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Create release directory for artifact, move file shell: bash run: | |