summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-12-27 13:41:41 -0600
committerBe <be@mixxx.org>2020-12-27 14:22:55 -0600
commit73a56c429ed09d301443fa733298a210815aa1be (patch)
tree418ec0abb8daf0a1f9415db491857f79e18ecf78 /.github/workflows
parent4c53913b25b515a72cc2d2ca729ad22df0037904 (diff)
GH Actions: import PPA GPG key from environment variable
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0d069c2de7..35c3c28ae3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -255,6 +255,12 @@ jobs:
run: cpack -G ${{ matrix.cpack_generator }} -V
working-directory: build
+ - name: "[Ubuntu] Import PPA GPG key"
+ if: startsWith(matrix.os, 'ubuntu') && env.RRYAN_AT_MIXXX_DOT_ORG_GPG_PRIVATE_KEY != null
+ run: gpg --import <(echo "${{ secrets.RRYAN_AT_MIXXX_DOT_ORG_GPG_PRIVATE_KEY }}")
+ env:
+ RRYAN_AT_MIXXX_DOT_ORG_GPG_PRIVATE_KEY: ${{ secrets.RRYAN_AT_MIXXX_DOT_ORG_GPG_PRIVATE_KEY }}
+
- name: "Package for PPA"
if: startsWith(matrix.os, 'ubuntu')
run: cpack -G External -D DEB_SOURCEPKG=ON