Skip to content

Commit cb47700

Browse files
committed
Update Github Actions workflow to use latest Ubuntu image
GitHub Actions is deprecating the Ubuntu 20.04 image used by udm-iptv to build the Debian package. In this commit I'm updating the CI workflows to make use of the latest Ubuntu images.
1 parent 38eadfa commit cb47700

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on: pull_request
44

55
jobs:
66
build:
7-
runs-on: [ubuntu-20.04]
7+
runs-on: [ubuntu-latest]
88
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
99
steps:
1010
- name: Checkout Sources
1111
uses: actions/checkout@v4
1212
with:
1313
path: udm-iptv
1414
- name: Setup Dependencies
15-
run: sudo apt-get install devscripts debhelper
15+
run: sudo apt-get install devscripts debhelper build-essential
1616
- name: Build Package
1717
run: |
1818
cd udm-iptv
@@ -26,4 +26,4 @@ jobs:
2626
*.deb
2727
*.build*
2828
*.changes
29-
*.dsc
29+
*.dsc

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ on:
88
jobs:
99
build:
1010
name: Build
11-
runs-on: [ubuntu-20.04]
11+
runs-on: [ubuntu-latest]
1212
steps:
1313
- name: Checkout Sources
1414
uses: actions/checkout@v4
1515
with:
1616
path: udm-iptv
1717
submodules: recursive
1818
- name: Setup Dependencies
19-
run: sudo apt-get install devscripts debhelper
19+
run: sudo apt-get install devscripts debhelper build-essential
2020
- name: Build Package
2121
run: |
2222
cd udm-iptv
@@ -33,7 +33,7 @@ jobs:
3333
*.dsc
3434
release:
3535
name: Publish Release
36-
runs-on: [ubuntu-20.04]
36+
runs-on: [ubuntu-latest]
3737
needs: build
3838
steps:
3939
- name: Checkout Sources
@@ -54,7 +54,7 @@ jobs:
5454
dpkg-parsechangelog -c 1 -l debian/changelog >> $GITHUB_OUTPUT
5555
echo "${delimiter}" >> $GITHUB_OUTPUT
5656
- name: Create Release
57-
uses: softprops/action-gh-release@v1
57+
uses: softprops/action-gh-release@v2
5858
env:
5959
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060
with:

0 commit comments

Comments
 (0)