diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-08 18:35:12 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-08 18:35:12 +0200 |
commit | fb3201263885fe18a6b4a13a36273d4c58a25567 (patch) | |
tree | 1744d174b31297034955ee0642511413e9bb1a00 /.github/workflows/build.yml | |
parent | bbaf40352fcc2b98f0dc84b40478a5b76271a4f3 (diff) |
GitHub: Import a signing key for debuild
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d4486dc..91ce6780 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -22,6 +22,13 @@ jobs: | |||
22 | git submodule sync | 22 | git submodule sync |
23 | sudo apt-get update -qq -y | 23 | sudo apt-get update -qq -y |
24 | sudo apt-get install -y -qq --no-install-recommends cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libmpg123-dev debhelper dh-make devscripts fakeroot build-essential | 24 | sudo apt-get install -y -qq --no-install-recommends cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libmpg123-dev debhelper dh-make devscripts fakeroot build-essential |
25 | - name: import-signing-key | ||
26 | run: | | ||
27 | mkdir -p ~/.gnupg/ | ||
28 | printf "$GPG_SIGNING_KEY" | base64 --decode > ~/.gnupg/private.key | ||
29 | gpg --import ~/.gnupg/private.key | ||
30 | env: | ||
31 | GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | ||
25 | - name: package-build | 32 | - name: package-build |
26 | run: | | 33 | run: | |
27 | git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz | 34 | git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz |