[gha] short commit hashes for deb packages

Signed-off-by: r4sas <r4sas@i2pmail.org>
pull/1941/merge 2.52.0
r4sas 1 month ago
parent 6921c8391e
commit 4163542125
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

@ -36,12 +36,16 @@ jobs:
with:
fetch-depth: 0
- name: Commit Hash
id: commit
uses: prompt/actions-commit-hash@v3.0.0
- name: Build package
uses: jtdor/build-deb-action@v1
with:
docker-image: debian:${{ matrix.dist }}-slim
buildpackage-opts: --build=binary --no-sign
before-build-hook: debchange --controlmaint --local "+${{ github.sha }}~${{ matrix.dist }}" -b --distribution ${{ matrix.dist }} "CI build"
before-build-hook: debchange --controlmaint --local "+${{ steps.commit.outputs.short }}~${{ matrix.dist }}" -b --distribution ${{ matrix.dist }} "CI build"
extra-build-deps: devscripts git
- name: Upload package

Loading…
Cancel
Save