From ad289b841d2baca9c3a616266a4c6ac72a581a95 Mon Sep 17 00:00:00 2001 From: a15355447898a Date: Mon, 29 Apr 2024 10:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0action=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/pipelines.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pipelines.yaml b/.gitea/workflows/pipelines.yaml index c1a3041..232f422 100644 --- a/.gitea/workflows/pipelines.yaml +++ b/.gitea/workflows/pipelines.yaml @@ -20,7 +20,7 @@ jobs: run: | pacman -Syu --noconfirm --noprogressbar pacman -Sy base-devel git python nodejs-lts-iron --needed --noconfirm --noprogressbar - - name: Check out repository code + - name: Checkout repository code uses: https://gitea.classfun.cn:4443/actions/checkout@v4 - name: Create Build User run: | @@ -83,12 +83,20 @@ jobs: COMPRESSZ=(compress -c -f) COMPRESSLZ4=(lz4 -q) COMPRESSLZ=(lzip -c -f) - PKGEXT='.pkg.tar.xz' + PKGEXT='.pkg.tar.zst' SRCEXT='.src.tar.gz' EOF - name: Build run: | + ulimit -Sn 1024 + ulimit -Hn 131072 git config --global --add http.proxy "socks5://192.168.0.253:1080" git config --global --add https.proxy "socks5://192.168.0.253:1080" sudo -H -u builder ALL_PROXY="socks5://192.168.0.253:1080" makepkg --config makepkg.conf --syncdeps --log --needed --noconfirm --noprogressbar --skippgpcheck ls -lha + - name: Upload Artifacts + uses: https://gitea.classfun.cn:4443/actions/upload-artifact@v3 + with: + name: Packages + path: ./*.pkg.tar.zst + retention-days: 90