Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
horror-proton committed Dec 28, 2023
1 parent 374d1f0 commit fa4f306
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fa4f306

Please sign in to comment.