fix: don't import non-existent/unused GPG private key (#516)

This commit is contained in:
Brandon Pfeifer
2023-06-14 14:50:30 -04:00
committed by GitHub
parent 3a2e139292
commit 467d545c26

View File

@ -329,10 +329,8 @@ jobs:
- run:
command: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update -y
sudo apt-get install -y awscli gnupg
gpg --import --batch \<<<"${GPG_PRIVATE_KEY//$'\\n'/$'\n'}"
sudo -E apt-get update
sudo -E apt-get install --yes awscli
- when:
condition: << parameters.is-nightly >>
steps: