Update build
Build / build_arch (push) Failing after 1m36s
Build / publish-release (push) Has been skipped

This commit is contained in:
2026-05-13 09:54:26 +02:00
parent 5197a8c4a0
commit aca1039cae
+40 -1
View File
@@ -5,4 +5,43 @@ jobs:
build_arch: build_arch:
runs-on: archlinux runs-on: archlinux
steps: steps:
- run: echo "This Works" - name: Prepare Arch Environment
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm base-devel git
useradd -m builder
chown -R builder:builder ./
- name: Checkout Current Repo
uses: actions/checkout@v4
- name: Clone External Repository
run: |
git clone https://git.elordenador.org/RedSocial/cli_archpkg.git external
- name: Makepkg
run: |
sudo -u builder bash -c "cd external && makepkg -s --noconfirm"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: arch-package
path: external/*.pkg.tar.zst
publish-release:
runs-on: ubuntu-latest
needs: build_arch
steps:
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: arch-package
path: ./dist
- name: Create Release and Upload Assets
uses: https://github.com/softprops/action-gh-release@v1
with:
files: ./dist/*.pkg.tar.zst
tag_name: ${{ github.ref_name }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}