From 01eb122145036081ef0ab68a570ddbe62d4fb0ea Mon Sep 17 00:00:00 2001 From: fbt Date: Wed, 30 Sep 2026 17:23:40 +0000 Subject: [PATCH] new build process Signed-off-by: fbt --- .gitea/workflows/build-package.yaml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml index e44ea2f..ed18342 100644 --- a/.gitea/workflows/build-package.yaml +++ b/.gitea/workflows/build-package.yaml @@ -7,7 +7,7 @@ jobs: runs-on: autobuilder container: volumes: - - /home/builder/public/spark/import:/import + - /home/builder/public/spark-extra/import:/import steps: - name: Show job info run: | @@ -15,19 +15,15 @@ jobs: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code - uses: actions/checkout@v3 - - name: Link the workdir into /buildroot # for script compatability with the old builder. - run: | - ln -vfs ${{ gitea.workspace }} /buildroot + uses: https://gitea.com/actions/checkout@v3 - name: Build the package run: | cd ${{ gitea.workspace }} - /build -s --noconfirm -# - name: Upload artifacts -# uses: actions/upload-artifact@v3 -# with: -# name: package -# path: ./*.pkg.tar.zst + /build ${{ gitea.workspace }} -s --noconfirm - name: Put the packages into the import dir run: cp -v ./*.pkg.tar.zst /import - - run: echo "This job's status is ${{ job.status }}." + - name: Upload the artifacts + uses: https://gitea.com/actions/gitea-upload-artifact@v7 + with: + name: packages + path: ./*.pkg.tar.zst