Skip to content

Commit

Permalink
Update CI/CD to create user and use it for makepkg
Browse files Browse the repository at this point in the history
  • Loading branch information
AkechiShiro committed Jul 6, 2023
1 parent f78e8d1 commit 135e936
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/vagrant-automatic-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ jobs:
pacman -S --noconfirm zlib curl p7zip hicolor-icon-theme wget bash base-devel git fuse2 pacman-contrib libx11 xorg-server fontconfig pipewire alsa-lib qt6-base qt5-base
- name: Create a user for makepkg usage
run: |
groups
cat /etc/passwd
chmod a+rwx ./update.sh
chmod a+rwx -R .
useradd makepkg-user
su makepkg-user
cat /etc/passwd
#- name: Git clone from AUR
# run: git clone https://aur.archlinux.org/nextcloud-client-appimage-daily.git
# INSERT step to setup git config from ENV variable containing secrets????
Expand All @@ -38,6 +36,7 @@ jobs:
# TODO: Forced to use chroot because we are the root user in the container
- name: Build latest update from upstream
run: |
su makepkg-user
chmod +x ./update.sh
ls
bash ./update.sh

0 comments on commit 135e936

Please sign in to comment.