update CI

This commit is contained in:
Vomitblood 2024-03-25 13:03:52 +08:00
parent 43acae6d9b
commit a01b74a2a3

View file

@ -17,10 +17,15 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies - name: Install dependencies
run: pacman -Syu --noconfirm base-devel rust run: |
pacman -Syu --noconfirm base-devel rust
useradd builder -m -G wheel
echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
- name: Build Arch package - name: Build Arch package
run: makepkg -sf --noconfirm run: |
chown -R builder:builder .
sudo -u builder bash -c "makepkg -sf --noconfirm"
- name: Upload Arch package - name: Upload Arch package
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2