mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
fix(actions): this is a certified bash classic
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
a4ea7839dc
commit
4bba4aaebf
8
.github/actions/package/macos/action.yml
vendored
8
.github/actions/package/macos/action.yml
vendored
|
|
@ -119,13 +119,13 @@ runs:
|
|||
run: |
|
||||
if [ '${{ inputs.sparkle-ed25519-key }}' != '' ]; then
|
||||
echo '${{ inputs.sparkle-ed25519-key }}' > ed25519-priv.pem
|
||||
signature-zip=$(/opt/homebrew/opt/openssl@3/bin/openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/PrismLauncher.zip -inkey ed25519-priv.pem | openssl base64 | tr -d \\n)
|
||||
signature-dmg=$(/opt/homebrew/opt/openssl@3/bin/openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/PrismLauncher.dmg -inkey ed25519-priv.pem | openssl base64 | tr -d \\n)
|
||||
signature_zip=$(/opt/homebrew/opt/openssl@3/bin/openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/PrismLauncher.zip -inkey ed25519-priv.pem | openssl base64 | tr -d \\n)
|
||||
signature_dmg=$(/opt/homebrew/opt/openssl@3/bin/openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/PrismLauncher.dmg -inkey ed25519-priv.pem | openssl base64 | tr -d \\n)
|
||||
rm ed25519-priv.pem
|
||||
cat >> $GITHUB_STEP_SUMMARY << EOF
|
||||
### Artifact Information :information_source:
|
||||
- :memo: Sparkle Signature (ed25519): \`$signature-zip\` (ZIP)
|
||||
- :memo: Sparkle Signature (ed25519): \`$signature-dmg\` (DMG)
|
||||
- :memo: Sparkle Signature (ed25519): \`$signature_zip\` (ZIP)
|
||||
- :memo: Sparkle Signature (ed25519): \`$signature_dmg\` (DMG)
|
||||
EOF
|
||||
else
|
||||
cat >> $GITHUB_STEP_SUMMARY << EOF
|
||||
|
|
|
|||
Loading…
Reference in a new issue