Compare commits

...

21 Commits

Author SHA1 Message Date
zj
efb069a247 update 2026-01-02 20:20:45 +08:00
zj
6c3bed221d update 2026-01-02 04:00:05 +08:00
zj
31c75b9eb4 update 2026-01-02 03:53:06 +08:00
zj
ff4ac590c1 update 2026-01-02 03:33:07 +08:00
zj
57c2e6e655 update 2026-01-02 03:30:57 +08:00
zj
852724e71f fix 2026-01-02 02:21:50 +08:00
zj
a7c0c24422 update 2026-01-01 20:37:24 +08:00
zj
b66cd84b95 update 2026-01-01 16:32:49 +08:00
zj
ea7a56060b fix 2026-01-01 02:57:54 +08:00
zj
f75ca5a685 fix 2025-12-31 18:32:47 +08:00
zj
48cd558e1f fix 2025-12-31 18:04:04 +08:00
zj
ac82032c98 fix 2025-12-31 16:25:55 +08:00
zj
48572f0add fix calamares-fonig 2025-12-31 16:19:35 +08:00
zj
c91f1f003a fix 2025-12-30 17:57:49 +08:00
zj
fcd415daf3 add tms-calamares-config 2025-12-30 17:52:23 +08:00
zj
ccaf092e94 fix 2025-12-30 01:03:43 +08:00
zj
81c09a47a3 上传文件至 x86_64 2025-12-30 01:00:02 +08:00
zj
27d62146d9 删除 .gitea/workflows/update-packages.yaml 2025-12-25 00:33:10 +08:00
zj
a9ef153d54 fix
Some checks failed
Build Arch Packages and Update Repo / build (push) Has been cancelled
2025-12-25 00:32:16 +08:00
zj
6ccb755324 Merge branch 'main' of http://192.168.10.207:3000/zj/custompkgs
Some checks failed
Build Arch Packages and Update Repo / build (push) Has been cancelled
2025-12-25 00:29:38 +08:00
zj
fba7688e59 chore(repo): Update packages and repo database [skip ci] 2025-12-22 15:32:54 +08:00
26 changed files with 0 additions and 64 deletions

View File

@@ -1,64 +0,0 @@
name: Build Arch Packages and Update Repo
on:
push:
branches:
- main
jobs:
build:
runs-on: arch
steps:
- name: Checkout repository
uses: http://192.168.10.207:3000/zj/checkout@v4
with:
fetch-depth: 0 # 获取完整的 Git 历史,以便后续提交和推送
- name: Set up Git user
run: |
git config user.name "zj"
git config user.email "1052308257@qq.com" # 使用一个专用的邮箱地址
- name: Build and update packages
run: |
# 遍历所有包含 PKGBUILD 的子目录并构建它们
for pkgdir in $(find . -maxdepth 2 -type f -name "PKGBUILD" -print0 | xargs -0 -n1 dirname); do
echo "--- Building package in $pkgdir ---"
cd "$pkgdir"
# makepkg -sric:
# -s: 同步依赖
# -r: 移除构建依赖
# -c: 清理构建目录
# --noconfirm: 自动确认
makepkg -sc --noconfirm || { echo "::error::Failed to build package in $pkgdir"; exit 1; }
# 将生成的包移动到 x86_64 目录
mv *.pkg.tar.zst ../x86_64/ || true
cd - # 返回上级目录
done
# 确保 x86_64 目录存在
mkdir -p x86_64
# 更新仓库数据库
echo "--- Updating repository database ---"
cd x86_64
# 运行你的 update-database.sh 脚本
# 假设 update-database.sh 内部调用了 repo-add custom.db.tar.gz *.pkg.tar.zst
chmod +x ../update-database.sh
../update-database.sh || { echo "::error::Failed to update repository database"; exit 1; }
cd ..
- name: Commit and push changes
run: |
# 添加所有新的 .pkg.tar.zst 包和更新后的数据库文件
git add x86_64/*.pkg.tar.zst x86_64/*.db x86_64/*.files
# 检查是否有实际的更改需要提交
if ! git diff --cached --exit-code; then
git commit -m "chore(repo): Update packages and repo database [skip ci]"
# [skip ci] 避免本次提交再次触发工作流,造成无限循环
git push
else
echo "No changes to commit."
fi

0
x86_64/alci-dwm-21.01-21-any.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/alci-dwm-nemesis-21.01-21-any.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/alci-grub-theme-git-23.03-37-any.pkg.tar.zst Executable file → Normal file
View File

View File

0
x86_64/arcolinux-keyring-20251209-3-any.pkg.tar.zst Executable file → Normal file
View File

View File

0
x86_64/chaotic-keyring-20230616-1-any.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/chaotic-mirrorlist-20240724-1-any.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/ckbcomp-1.230-1-any.pkg.tar.zst Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

0
x86_64/downgrade-11.4.2-1-any.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/mkinitcpio-openswap-0.1.0-3-any.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/pure-ftpd-1.0.52-1-x86_64.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/pure-ftpd-debug-1.0.52-1-x86_64.pkg.tar.zst Executable file → Normal file
View File

0
x86_64/sublime-text-4-4.4186-1-x86_64.pkg.tar.zst Executable file → Normal file
View File

View File

0
x86_64/teamviewer-15.71.4-1-x86_64.pkg.tar.zst Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.