fx workflow 24
All checks were successful
Archlinux build / build (push) Successful in 3m19s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s

This commit is contained in:
Alexey Khromov 2025-04-13 00:41:01 +03:00
parent 2477709da4
commit 8339af8eac
2 changed files with 16 additions and 9 deletions

View File

@ -20,19 +20,23 @@ jobs:
run: pacman -Sy
- name: Installing prerequisites - install nodejs for actions & git
run: pacman --disable-sandbox --noconfirm -v -S git nodejs
- name: Downloading
- name: Adding user builder
continue-on-error: true
run: useradd -d /builder -g users -m builder
- run: su - builder -c pwd
- run: su - builder -c "curl -O http://zxprj:3001/zx/bforce/raw/branch/${GITHUB_REF_NAME}/archlinux/bforce.install"
- run: su - builder -c "curl -o PKGBUILD http://zxprj:3001/zx/bforce/raw/branch/${GITHUB_REF_NAME}/archlinux/PKGBUILD.ci"
- run: su -w GITHUB_SHA,GITHUB_REF_NAME,GITHUB_REF_TYPE - builder -c makepkg
- run: su - builder -c "ls -la"
- run: mkdir bforce && cp /builder/bforce-r*.pkg.tar.zst bforce
- name: Downloading PKGBUILD
run: |
su - builder -c "curl -O http://zxprj:3001/zx/bforce/raw/branch/${GITHUB_REF_NAME}/archlinux/bforce.install"
su - builder -c "curl -o PKGBUILD http://zxprj:3001/zx/bforce/raw/branch/${GITHUB_REF_NAME}/archlinux/PKGBUILD.ci"
- name: Building archlinux package
run: |
su -w GITHUB_SHA,GITHUB_REF_NAME,GITHUB_REF_TYPE - builder -c makepkg
su - builder -c "ls -la"
- name: Retrieving artifact files
run: mkdir bforce && cp /builder/bforce-r*.pkg.tar.zst bforce
- name: Try to upload artifacts
uses: actions/upload-artifact@v3
with:
name: bforce-${GITHUB_SHA}
name: bforce-${{ env.GITHUB_SHA }}
path: bforce
- run: echo "🍏 This job's status is ${{ github.state }}."

View File

@ -1,4 +1,7 @@
![zx branch](https://prj.zxalexis.ru/gitea/zx/bforce/actions/workflows/arch.yaml/badge.svg?branch=zx)
![zx branch]
<img align="left" width="100" height="20" src=https://prj.zxalexis.ru/gitea/zx/bforce/actions/workflows/arch.yaml/badge.svg?branch=zx>
![master branch](https://prj.zxalexis.ru/gitea/zx/bforce/actions/workflows/arch.yaml/badge.svg?branch=master)
BinkleyForce FTN mailer