From 2fbe1d3e5481b584edf7f8149f6c02a49e6489f3 Mon Sep 17 00:00:00 2001 From: Alexey Khromov Date: Sat, 12 Apr 2025 21:16:51 +0300 Subject: [PATCH] fx workflow 10 --- .gitea/workflows/arch.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/arch.yaml b/.gitea/workflows/arch.yaml index 5939f16..2106b84 100644 --- a/.gitea/workflows/arch.yaml +++ b/.gitea/workflows/arch.yaml @@ -1,28 +1,27 @@ name: Archlinux build -run-name: ${{ gitea.name}} building 🚀 +run-name: ${{ github.event.name}} building 🚀 on: [push] jobs: build: runs-on: arch-latest steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event.name }} event." + - run: echo "🎉 The job was automatically triggered by a ${{ github.event.name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: Updating pacman repository continue-on-error: true - run: | - pacman-key --init && pacman -Syu + run: pacman-key --init && pacman -Syu - name: Checking environment continue-on-error: true run: printenv - name: Downloading - continue-on-error: true + continue-on-error: true run: useradd -b${{gitea.basedir}} -d${{gitea.basedir}}/builder -g users -m builder - run: echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers - run: su - builder -c curl -O http://zxprj:3001/zx/bforce/raw/branch/zx/archlinux/bforce.install - run: su - builder -c curl -O http://zxprj:3001/zx/bforce/raw/branch/zx/archlinux/PKGBUILD - run: su - builder -c makepkg - - run: echo "🍏 This job's status is ${{ gitea.job.status }}." + - run: echo "🍏 This job's status is ${{ github.state }}."