Skip to content

Commit

Permalink
ci: make sure to kill gpg related processes (#8549)
Browse files Browse the repository at this point in the history
Removing the directory while gpg-agent and dirmngr are running is not always possible, causing random errors during CI runs.
  • Loading branch information
mcspr authored Apr 21, 2022
1 parent 6c8c8cb commit 02c1a50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ jobs:
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$LLVM_SNAPSHOT_KEY"
gpg --batch --armor --export "$LLVM_SNAPSHOT_KEY" | \
sudo tee /etc/apt/trusted.gpg.d/llvm-snapshot.gpg.asc
gpgconf --kill all
rm -r $GNUPGHOME
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main" | \
sudo tee /etc/apt/sources.list.d/llvm.list
Expand Down

0 comments on commit 02c1a50

Please sign in to comment.