尝试优化流程

This commit is contained in:
2025-03-09 08:21:08 +08:00
parent dc17372b64
commit 757be022d7
4 changed files with 209 additions and 11 deletions
+7 -2
View File
@@ -1,4 +1,4 @@
name: Building GXDE Testing Package (meimei)
name: Building GXDE Package (meimei)
run-name: Building ${{ GITHUB.REPOSITORY }}
on:
@@ -52,7 +52,12 @@ jobs:
- name: Building ${{ GITHUB.repository }}
run: |
env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh env GXDE_CODENAME=meimei GO111MODULE=off dpkg-buildpackage -b
gitPath=$(basename $GITHUB_REPOSITORY)
if [[ -f system-bottle/$gitPath/debian/control ]]; then
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh env GXDE_CODENAME=meimei GO111MODULE=off dpkg-buildpackage -b
else
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh env GXDE_CODENAME=meimei GO111MODULE=off bash build-deb.sh
fi
cp $BOTTLEPATH/*.deb . -rv
sudo rename 's/\.deb$/_meimei.deb/' *.deb