From 42b5aa491d61c3bc3474a0d16430ca681b784aee Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Fri, 1 Jul 2022 13:40:34 +0200 Subject: [PATCH] Install GPG key Linux Obtained by performing the following commands ``` gpg --import private-gpg.key gpg --armor --export-secret-key -u ``` Contributes to CURA-9365 --- .github/workflows/cura-installer.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cura-installer.yml b/.github/workflows/cura-installer.yml index 853e5e2392..4e62aded04 100644 --- a/.github/workflows/cura-installer.yml +++ b/.github/workflows/cura-installer.yml @@ -44,6 +44,7 @@ env: MAC_NOTARIZE_USER: ${{ secrets.MAC_NOTARIZE_USER }} MAC_NOTARIZE_PASS: ${{ secrets.MAC_NOTARIZE_PASS }} MACOS_CERT_P12: ${{ secrets.MACOS_CERT_P12 }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} jobs: cura-installer-create: @@ -109,6 +110,10 @@ jobs: chmod +x $GITHUB_WORKSPACE/appimagetool echo "APPIMAGETOOL_LOCATION=$GITHUB_WORKSPACE/appimagetool" >> $GITHUB_ENV + - name: Configure GPG Key Linux (Bash) + if: ${{ runner.os == 'Linux' }} + run: echo -n "GPG_PRIVATE_KEY" | base64 --decode | gpg --import + - name: Clean Conan local cache if: ${{ inputs.conan_clean_local_cache }} run: conan remove "*" -f