Skip to content

Commit cb1b5dd

Browse files
committed
MT#55283 update GH build actions
Run the included backports script for distro-specific packaging. Add distro suffix to the version so that all build artefacts can be included in the release without collisions. Include G.729. This is available in both Sid and Trixie. Change-Id: I7efcf6a115158c5154936494c5c85628e37b21ab (cherry picked from commit 68c6bf6) (cherry picked from commit a96a01c)
1 parent 0a7c1c0 commit cb1b5dd

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/debian-package-build.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,25 @@ jobs:
2222
dist: [trixie, sid]
2323
steps:
2424
- uses: actions/checkout@v6
25+
- name: Packaging backports
26+
run: |
27+
set -ex
28+
pushd pkg/deb
29+
./generator.sh
30+
backports/${{ matrix.dist }}
31+
popd
32+
rm -rf debian
33+
mv pkg/deb/${{ matrix.dist }} debian
34+
rm -rf pkg/deb/debian
2535
- name: Update changelog
2636
run: |
2737
set -ex
2838
OLD_VERSION=$(dpkg-parsechangelog -SVersion)
2939
SOURCE=$(dpkg-parsechangelog -SSource)
3040
if [[ "${{ github.ref_type }}" == "tag" ]]; then
31-
VERSION_SUFFIX="+gh"
41+
VERSION_SUFFIX="+gh+${{ matrix.dist }}"
3242
else
33-
VERSION_SUFFIX="+autobuild${GITHUB_RUN_NUMBER}"
43+
VERSION_SUFFIX="+autobuild${GITHUB_RUN_NUMBER}+${{ matrix.dist }}"
3444
fi
3545
cat > debian/changelog <<EOT
3646
${SOURCE} (${OLD_VERSION}${VERSION_SUFFIX}) UNRELEASED; urgency=medium
@@ -42,7 +52,6 @@ jobs:
4252
- uses: jtdor/build-deb-action@v1
4353
with:
4454
docker-image: debian:${{ matrix.dist }}
45-
buildpackage-opts: -Ppkg.ngcp-rtpengine.nobcg729
4655
- name: Archive build result
4756
uses: actions/upload-artifact@v6
4857
with:

0 commit comments

Comments
 (0)