Skip to content

Commit ed34bfb

Browse files
committed
Update secring file step in release workflow
1 parent 122deab commit ed34bfb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ jobs:
4848
uses: grails/github-actions/pre-release@main
4949
with:
5050
token: ${{ secrets.GITHUB_TOKEN }}
51-
- name: "📝 Generate secring file"
51+
- name: "🔐 Generate key file for artifact signing"
5252
env:
53-
SECRING_FILE: ${{ secrets.SECRING_FILE }}
54-
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
53+
SECRING_FILE: ${{ secrets.SECRING_FILE }}
54+
run: |
55+
printf "%s" "$SECRING_FILE" | base64 -d > "${{ github.workspace }}/secring.gpg"
5556
- name: "🧩 Run Assemble"
5657
if: success()
5758
id: assemble

0 commit comments

Comments
 (0)