From 21eeae69cc3a11799e40a20d407039e26f1c5761 Mon Sep 17 00:00:00 2001 From: Alexey Khromov Date: Sat, 12 Apr 2025 15:26:21 +0300 Subject: [PATCH] fx actions 2 --- .gitea/workflows/arch.yaml | 10 ++++------ .gitea/workflows/demo.yaml | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/arch.yaml b/.gitea/workflows/arch.yaml index d7c13f1..4800bde 100644 --- a/.gitea/workflows/arch.yaml +++ b/.gitea/workflows/arch.yaml @@ -8,14 +8,12 @@ jobs: - run: echo "🎉 The job was automatically triggered by a ${{ gitea_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 }}." - - name: Check out repository code - uses: actions/checkout@v4 - 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: List files in the repository run: | - ls ${{ gitea.basedir }} + ls ${{ gitea.basedir }} | + cd ${{gitea.basedir}} && wget http://zxprj:3001/zx/bforce/raw/branch/master/archlinux/bforce.install | + pwd && cd ${{gitea.basedir}} && wget http://zxprj:3001/zx/bforce/raw/branch/master/archlinux/PKGBUILD | + cd ${{gitea.basedir}} && makepkg - run: echo "🍏 This job's status is ${{ gitea.status }}." - - run: mkdir ${{gitea.basedir}}/../build - - run: cp ${{ gitea.basedir }}/archlinux/PKGBUILD.local ${{gitea.basedir}}/../build/PKGBUILD - - run: cd ${{gitea.basedir}}/../build && ls && makepkg diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index b927321..5d42028 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -9,12 +9,12 @@ jobs: - 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 }}." - name: Check out repository code -# uses: ischanx/checkout@v4 - uses: actions/checkout@v4 - 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: List files in the repository run: | - ls ${{ gitea.basedir }} + ls ${{ gitea.basedir }} | + pwd - run: echo "🍏 This job's status is ${{ gitea.status }}."