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

|
|
||||||
|
![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>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
BinkleyForce FTN mailer
|
BinkleyForce FTN mailer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user