Skip to content

Commit 2e13832

Browse files
committed
fix(ci): initialize pacman keyring in Arch Linux smoke test
Add pacman-key --init before pacman -Syu to fix "no secret key available to sign with" error when upgrading archlinux-keyring in the container environment.
1 parent 08750cd commit 2e13832

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-reusable.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ jobs:
445445
steps:
446446
- name: Prepare system
447447
run: |
448+
# Initialize pacman keyring to avoid "no secret key available" error
449+
pacman-key --init
448450
pacman -Syu --noconfirm
449451
pacman -S --noconfirm python python-pip gcc git zlib openssl
450452

0 commit comments

Comments
 (0)