forked from Boria138/PortProtonQt
chore(build): added Debian
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@@ -147,9 +147,37 @@ jobs:
|
||||
name: PortProtonQt-RPM-Fedora-${{ matrix.fedora_version }}
|
||||
path: /home/rpmbuild/RPMS/**/*.rpm
|
||||
|
||||
build-deb:
|
||||
name: Build Debian Package
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y build-essential git python3-dev python3-pip python3-wheel debhelper dh-python \
|
||||
devscripts python3-all bash-completion python3-setuptools
|
||||
|
||||
- name: Checkout repo
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
|
||||
- name: Build Debian package
|
||||
run: |
|
||||
# Copy the debian directory to the root for proper packaging
|
||||
cp -r build-aux/debian .
|
||||
|
||||
# Build the package
|
||||
dpkg-buildpackage -us -uc -b
|
||||
|
||||
- name: Upload Debian package
|
||||
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: PortProtonQt-Debian
|
||||
path: "*.deb"
|
||||
|
||||
release:
|
||||
name: Create and Publish Release
|
||||
needs: [build-appimage, build-arch, build-fedora]
|
||||
needs: [build-appimage, build-arch, build-fedora, build-deb]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://gitea.com/actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user