Merge pull request #729 from DioEgizio/fix-mac-openssl3-failing

fix: just use github runner's openssl 1.1 instead of installing 3 on …
This commit is contained in:
Sefa Eyeoglu 2023-01-10 16:28:02 +01:00 committed by GitHub
commit 976e550aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,9 +342,8 @@ jobs:
if: matrix.name == 'macOS'
run: |
if [ '${{ secrets.SPARKLE_ED25519_KEY }}' != '' ]; then
brew install openssl@3
echo '${{ secrets.SPARKLE_ED25519_KEY }}' > ed25519-priv.pem
signature=$(/usr/local/opt/openssl@3/bin/openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/PrismLauncher.tar.gz -inkey ed25519-priv.pem | openssl base64 | tr -d \\n)
signature=$(openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/PrismLauncher.tar.gz -inkey ed25519-priv.pem | openssl base64 | tr -d \\n)
rm ed25519-priv.pem
cat >> $GITHUB_STEP_SUMMARY << EOF
### Artifact Information :information_source: