From fa4f306444c81df63f1369d83add02486f75f94a Mon Sep 17 00:00:00 2001 From: Horror Proton <107091537+horror-proton@users.noreply.github.com> Date: Thu, 28 Dec 2023 13:47:53 +0800 Subject: [PATCH] ci: test --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c90cd4f..463c083 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,13 +16,6 @@ jobs: actions: write steps: - - name: Create user - run: | - chmod -R a+rw . - useradd arch -m -d /home/arch - echo "arch ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers - sudo --set-home --user=arch mkdir -p ~arch/.cache/paru ~arch/.cache/ccache - - name: Cache packages uses: actions/cache/restore@v3 id: packages-cache @@ -34,6 +27,8 @@ jobs: - name: Upgrade system run: | + printenv + getent passwd $UID pacman-key --init pacman -Sy --needed --noconfirm archlinux-keyring pacman -Syu --noconfirm --needed reflector git ccache github-cli pacman-contrib