Skip to content

Commit cfc44cb

Browse files
committed
fix: ci key export for gpg signing
Signed-off-by: Sam Gammon <sam@elide.ventures>
1 parent 068e499 commit cfc44cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/job.native-image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ jobs:
324324
run: |
325325
cat <(echo -e "${{ secrets.SIGNING_KEY }}") | base64 -d | gpg --batch --import
326326
gpg --list-secret-keys --keyid-format LONG
327-
gpg --export-secret-keys > /home/$(whoami)/.gnupg/secring.gpg
327+
mkdir -p /home/$(whoami)/.gnupg/
328+
gpg --export-secret-keys > /home/$(whoami)/.gnupg/secring.gpg || echo "No key exported."
328329
- name: "Artifact: Build Outputs"
329330
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
330331
id: build-artifact

0 commit comments

Comments
 (0)