From 85d2f5672de2e9a347811647a0e8adff92d9fd33 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Wed, 31 Jan 2024 15:41:06 -0500 Subject: [PATCH] fix: `pacman -Syu` --- .github/install-dependency-packages.sh | 2 +- .github/workflows/ci.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/install-dependency-packages.sh b/.github/install-dependency-packages.sh index e1618f9d..14594ae9 100755 --- a/.github/install-dependency-packages.sh +++ b/.github/install-dependency-packages.sh @@ -30,7 +30,7 @@ case $runner in pacman -Syu --noconfirm for pkg in ${PACKAGE_LIST_LINUX[@]}; do echo "[+] INSTALLING $pkg" - pacman -Syu --noconfirm $pkg + pacman -S --noconfirm $pkg echo "| \`$pkg\` | $(pacman -Qi $pkg | grep -Po '^Version\s*: \K.+') |" >> $summary_file done ;; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 185b448a..86ff78df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,8 +38,10 @@ jobs: image: ${{ inputs.container }} steps: - name: install cmake - run: pacman -S --noconfirm cmake if: ${{ inputs.runner == 'ubuntu-latest' }} + run: | + pacman -Syu --noconfirm + pacman -S --noconfirm cmake - name: checkout hipo uses: actions/checkout@v4 with: