upload build artifacts for later troubleshooting #471
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-debian | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: create_tarball | |
| run: | | |
| cd .. | |
| tar --exclude=.git -cvzf packetsender_0.1+testonly.orig.tar.gz PacketSender | |
| - name: create_debian_dir | |
| run: | | |
| cp -a .github/workflows/debian . | |
| - name: install_dependencies | |
| run: | | |
| sudo apt update | |
| sudo apt install cmake debhelper devscripts qt6-base-dev qt6-base-dev-tools build-essential | |
| - name: build | |
| run: | | |
| debuild --no-lintian --no-sign | |
| - name: Upload Debian packages | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: packetsender-debs | |
| path: | | |
| ../*.deb | |
| ../*.ddeb | |
| ../*.changes | |
| ../*.buildinfo | |
| retention-days: 30 |