actions: invert gpg macos check

This commit is contained in:
Jay Lee
2023-08-01 10:32:52 -04:00
committed by GitHub
parent f04dd95c38
commit effbae9289

View File

@@ -620,7 +620,7 @@ jobs:
env: env:
PASSCODE: ${{ secrets.PASSCODE }} PASSCODE: ${{ secrets.PASSCODE }}
run: | run: |
if ([ "${RUNNER_OS}" == "macOS" ] && ! which gpg > /dev/null); then if ([ "${RUNNER_OS}" == "macOS" ] && which gpg > /dev/null); then
brew install gnupg brew install gnupg
fi fi
source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz "${GAMCFGDIR}" source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz "${GAMCFGDIR}"