Bump actions/checkout from 3 to 4 #1
This file contains 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 | |
on: pull_request | |
jobs: | |
build: | |
runs-on: [ubuntu-20.04] | |
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }} | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
with: | |
path: udm-iptv | |
- name: Setup Dependencies | |
run: sudo apt-get install devscripts debhelper | |
- name: Build Package | |
run: | | |
cd udm-iptv | |
debuild -uc -us --lintian-opts --profile debian | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build-artifacts | |
if-no-files-found: error | |
path: | | |
*.deb | |
*.build* | |
*.changes | |
*.dsc |