Improve
This commit is contained in:
@@ -5,12 +5,6 @@ jobs:
|
|||||||
build_arch:
|
build_arch:
|
||||||
runs-on: archlinux
|
runs-on: archlinux
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare Arch Environment
|
|
||||||
run: |
|
|
||||||
pacman -Syu --noconfirm
|
|
||||||
pacman -S --noconfirm base-devel git nodejs
|
|
||||||
useradd -m builder
|
|
||||||
chown -R builder:builder ./
|
|
||||||
|
|
||||||
- name: Checkout Current Repo
|
- name: Checkout Current Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -18,9 +12,10 @@ jobs:
|
|||||||
- name: Clone External Repository
|
- name: Clone External Repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://git.elordenador.org/RedSocial/cli_archpkg.git external
|
git clone https://git.elordenador.org/RedSocial/cli_archpkg.git external
|
||||||
|
chown -R builder:builder external
|
||||||
- name: Makepkg
|
- name: Makepkg
|
||||||
run: |
|
run: |
|
||||||
sudo -u builder bash -c "cd external && makepkg -s --noconfirm"
|
cd external && makepkg -s --noconfirm
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user