Skip to content

Commit 02c1a50

Browse files
authored
ci: make sure to kill gpg related processes (#8549)
Removing the directory while gpg-agent and dirmngr are running is not always possible, causing random errors during CI runs.
1 parent 6c8c8cb commit 02c1a50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .github/workflows/pull-request.yml

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ jobs:
246246
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$LLVM_SNAPSHOT_KEY"
247247
gpg --batch --armor --export "$LLVM_SNAPSHOT_KEY" | \
248248
sudo tee /etc/apt/trusted.gpg.d/llvm-snapshot.gpg.asc
249+
gpgconf --kill all
249250
rm -r $GNUPGHOME
250251
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main" | \
251252
sudo tee /etc/apt/sources.list.d/llvm.list

0 commit comments

Comments
 (0)