Skip to content

Commit c579c82

Browse files
dschomjcheetham
authored andcommitted
fixup! fixup! release: create initial Windows installer build workflow
Since the Azure Portal supports only single-line secrets (but those lines can be _very_ long), the convention is to store GPG keys (which _are_ multi-line) as base64-encoded values. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ad02e8f commit c579c82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-git-installers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ jobs:
132132
with:
133133
vault: ${{ secrets.AZURE_VAULT }}
134134
secrets: |
135-
${{ secrets.WIN_GPG_KEYGRIP_SECRET_NAME }} > $output:keygrip
136-
${{ secrets.WIN_GPG_PRIVATE_SECRET_NAME }} > $output:private-key
137-
${{ secrets.WIN_GPG_PASSPHRASE_SECRET_NAME }} > $output:passphrase
135+
${{ secrets.WIN_GPG_KEYGRIP_SECRET_NAME }} > $output:keygrip
136+
${{ secrets.WIN_GPG_PRIVATE_SECRET_NAME }} base64> $output:private-key
137+
${{ secrets.WIN_GPG_PASSPHRASE_SECRET_NAME }} > $output:passphrase
138138
- name: Prepare home directory for GPG signing
139139
if: ${{ steps.gpg-secrets.outputs.keygrip != '' && steps.gpg-secrets.outputs.private-key != '' }}
140140
shell: bash

0 commit comments

Comments
 (0)