更新action脚本
All checks were successful
PKGBUILD / MAKEPKG (push) Successful in 19m20s

This commit is contained in:
a15355447898a 2024-04-29 10:15:44 +08:00
parent bbc098533d
commit ad289b841d

View File

@ -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