mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 07:26:36 +08:00
尝试优化流程
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user