自动构建环境新增环境变量 GXDE_ARCH

Signed-off-by: gfdgd xi <3025613752@qq.com>
This commit is contained in:
2025-08-23 06:50:25 +00:00
committed by Gitee
parent 578710a84f
commit 8972507515
+2 -2
View File
@@ -102,9 +102,9 @@ jobs:
run: |
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=${{ inputs.gxde-codename }} GO111MODULE=off dpkg-buildpackage -b
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} GO111MODULE=off dpkg-buildpackage -b
else
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh env GXDE_CODENAME=${{ inputs.gxde-codename }} GO111MODULE=off bash build-deb.sh
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} GO111MODULE=off bash build-deb.sh
fi
cp $BOTTLEPATH/*.deb . -rv
sudo rename 's/\.deb$/_${{ inputs.gxde-codename }}.deb/' *.deb