add to test release as well
This commit is contained in:
parent
23244ab6ba
commit
e903ab5985
19
.github/workflows/test-release.yml
vendored
19
.github/workflows/test-release.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
- name: Install build deps
|
- name: Install build deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -y devscripts debhelper build-essential
|
sudo apt-get install -y devscripts debhelper build-essential dpkg-sig
|
||||||
|
|
||||||
- name: Compute build version
|
- name: Compute build version
|
||||||
id: version
|
id: version
|
||||||
@ -62,6 +62,23 @@ jobs:
|
|||||||
echo "=== Package contents ==="
|
echo "=== Package contents ==="
|
||||||
dpkg-deb --contents ../*.deb
|
dpkg-deb --contents ../*.deb
|
||||||
|
|
||||||
|
- name: Import GPG key
|
||||||
|
if: env.GPG_PRIVATE_KEY != ''
|
||||||
|
env:
|
||||||
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
|
run: |
|
||||||
|
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
|
||||||
|
|
||||||
|
- name: Sign deb package
|
||||||
|
if: env.GPG_PRIVATE_KEY != ''
|
||||||
|
env:
|
||||||
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
|
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
|
||||||
|
run: |
|
||||||
|
DEB=$(ls ../*.deb)
|
||||||
|
dpkg-sig --sign builder -k "$GPG_KEY_ID" --gpg-options "--batch" "$DEB"
|
||||||
|
dpkg-sig --verify "$DEB"
|
||||||
|
|
||||||
- name: Collect deb artifacts
|
- name: Collect deb artifacts
|
||||||
id: collect
|
id: collect
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user