ci: validate deb packages produced

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-07-24 19:40:53 -04:00
parent 934ab6a4fe
commit 03296412ab
1 changed files with 10 additions and 0 deletions

View File

@ -293,6 +293,16 @@ jobs:
result/bin/conduit --version result/bin/conduit --version
fi fi
# check validity of produced deb package, invalid debs will error on these commands
- name: Validate produced deb package
run: |
# List contents
dpkg-deb --contents ${{ matrix.target }}.deb
dpkg-deb --contents ${{ matrix.target }}-debug.deb
# List info
dpkg-deb --info ${{ matrix.target }}.deb
dpkg-deb --info ${{ matrix.target }}-debug.deb
- name: Upload static-${{ matrix.target }} - name: Upload static-${{ matrix.target }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: