Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on: pull_request

jobs:
build:
runs-on: [ubuntu-20.04]
runs-on: [ubuntu-latest]
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
run: sudo apt-get install devscripts debhelper build-essential
- name: Build Package
run: |
cd udm-iptv
Expand All @@ -26,4 +26,4 @@ jobs:
*.deb
*.build*
*.changes
*.dsc
*.dsc
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
jobs:
build:
name: Build
runs-on: [ubuntu-20.04]
runs-on: [ubuntu-latest]
steps:
- name: Checkout Sources
uses: actions/checkout@v4
with:
path: udm-iptv
submodules: recursive
- name: Setup Dependencies
run: sudo apt-get install devscripts debhelper
run: sudo apt-get install devscripts debhelper build-essential
- name: Build Package
run: |
cd udm-iptv
Expand All @@ -33,7 +33,7 @@ jobs:
*.dsc
release:
name: Publish Release
runs-on: [ubuntu-20.04]
runs-on: [ubuntu-latest]
needs: build
steps:
- name: Checkout Sources
Expand All @@ -54,7 +54,7 @@ jobs:
dpkg-parsechangelog -c 1 -l debian/changelog >> $GITHUB_OUTPUT
echo "${delimiter}" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
6 changes: 6 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ include /usr/share/dpkg/architecture.mk

%:
dh $@


override_dh_builddeb:
# Force creation of XZ compressed Debian archive. Newer versions of Debian
# will default to ZSTD which is not yet available in UniFi OS
dh_builddeb -- -Zxz