Skip to content

Commit

Permalink
edit archlinux package build workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
meshya committed May 28, 2024
1 parent 628f835 commit d15e8be
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/archlinux-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Packages via Pacman
run: pacman -Sy; pacman --noconfirm -S base-devel pango glib2 librsvg unzip zip
run: |
pacman -Sy
pacman --noconfirm -S base-devel pango glib2 librsvg unzip zip fakeroot
useradd -m builder
passwd -d builder
echo 'builder ALL=(ALL) NOPASSWD: ALL' | sudo tee /etc/sudoers.d/builder
sudo chown -R builder:builder $GITHUB_WORKSPACE
- name: Make Package
run: cd package/archlinux; bash build.sh
run: |
cd package/archlinux
sudo -u builder bash build.sh
- name: Upload zst file to the release
run: |
cd ./build
Expand Down

0 comments on commit d15e8be

Please sign in to comment.