CI fx workflow 39
Archlinux build / build (push) Successful in 3m8s
Debian build / build (push) Successful in 3m40s

This commit is contained in:
zx
2025-04-13 20:10:36 +03:00
parent e94fffb110
commit e3a1f7e52e
4 changed files with 15 additions and 7 deletions
+5 -3
View File
@@ -2,10 +2,9 @@ name: Archlinux build
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ github.actor }} 🚀
on: [push]
jobs:
if: ${{ gitea.ref_name }} == '/refs/heads/master'
build:
runs-on: arch-latest
if: ${{ github.ref }} == 'refs/head/zx'
if: ${{ github.ref }} == 'refs/head/master'
branches:
- 'master'
- 'zx'
@@ -28,10 +27,13 @@ jobs:
run: |
su -w GITHUB_SHA,GITHUB_REF_NAME,GITHUB_REF_TYPE - builder -c makepkg
su - builder -c "ls -la"
- name: Constructing artifact name and version
run: |
echo "BFORCE_VER=$(cat /builder/src/bforce/source/.version)-$(date +%Y%M%d)" >> $GITHUB_ENV
- 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-${{ env.GITHUB_SHA }}
name: bforce-${{ env.BFORCE_VER }}
path: bforce