update CI
This commit is contained in:
parent
43acae6d9b
commit
a01b74a2a3
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue