Browse Source

[gha] short commit hashes for deb packages

Signed-off-by: r4sas <r4sas@i2pmail.org>
pull/1941/merge 2.52.0
R4SAS 7 months ago
parent
commit
4163542125
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 6
      .github/workflows/build-deb.yml

6
.github/workflows/build-deb.yml

@ -36,12 +36,16 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Commit Hash
id: commit
uses: prompt/actions-commit-hash@v3.0.0
- name: Build package - name: Build package
uses: jtdor/build-deb-action@v1 uses: jtdor/build-deb-action@v1
with: with:
docker-image: debian:${{ matrix.dist }}-slim docker-image: debian:${{ matrix.dist }}-slim
buildpackage-opts: --build=binary --no-sign 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 extra-build-deps: devscripts git
- name: Upload package - name: Upload package

Loading…
Cancel
Save