Skip to content

Commit f7105ab

Browse files
committed
(workflow) Build the debian package
Signed-off-by: Arisu Tachibana <[email protected]>
1 parent 2d6022e commit f7105ab

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/debian.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Make Debian Package
1+
name: Create Debian Package
22

33
on:
44
push:
@@ -9,7 +9,7 @@ permissions:
99
contents: write
1010

1111
jobs:
12-
build-dsc:
12+
build-deb:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
@@ -39,32 +39,27 @@ jobs:
3939
HEAD
4040
4141
- name: Build Debian package
42-
run: debuild -S -us -uc --lintian-opts --profile debian
42+
run: debuild -b -us -uc --lintian-opts --profile debian
4343

44-
- name: Collect Debian artifacts for development
44+
- name: Collect Debian artifacts
4545
run: |
4646
mkdir -p artifacts
4747
shopt -s nullglob
4848
for file in ../kci-dev_*; do
4949
mv "$file" artifacts/
5050
done
5151
52-
- name: Upload Debian artifacts for development
52+
- name: Upload Debian artifact to the workflow
5353
uses: actions/upload-artifact@v4
5454
with:
55-
name: kci-dev-debian-source
55+
name: kci-dev-debian-package
5656
path: artifacts/
5757

58-
- name: Upload Debian source to GitHub Release on new tag
58+
- name: Upload Debian package to GitHub Release on new tag
5959
if: startsWith(github.ref, 'refs/tags/')
6060
uses: softprops/action-gh-release@v2
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363
with:
6464
tag_name: ${{ github.ref_name }}
65-
files: |
66-
artifacts/kci-dev_*.dsc
67-
artifacts/kci-dev_*.orig.tar.*
68-
artifacts/kci-dev_*debian.tar.*
69-
artifacts/kci-dev_*_source.buildinfo
70-
artifacts/kci-dev_*_source.changes
65+
files: artifacts/*

0 commit comments

Comments
 (0)