Skip to content

Use improxy as default IGMP Proxy program #20

Use improxy as default IGMP Proxy program

Use improxy as default IGMP Proxy program #20

Workflow file for this run

name: Release
on:
push:
tags:
- v*
jobs:
build:
name: Build
runs-on: [ubuntu-20.04]
steps:
- name: Checkout Sources
uses: actions/checkout@v4
with:
path: udm-iptv
submodules: recursive
- 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
release:
name: Publish Release
runs-on: [ubuntu-20.04]
needs: build
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
path: build-artifacts
- name: Format Release Name
id: format_release
run: |
ref="${{ github.ref}}"
release_name=${ref#"refs/tags/"}
echo "release=$release_name" >> $GITHUB_OUTPUT
delimiter="$(openssl rand -hex 8)"
echo "changelog<<${delimiter}" >> $GITHUB_OUTPUT
dpkg-parsechangelog -c 1 -l debian/changelog >> $GITHUB_OUTPUT
echo "${delimiter}" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: udm-iptv ${{ steps.format_release.outputs.release }}
body: ${{ steps.format_release.outputs.changelog }}
files: build-artifacts/udm-iptv_*.deb