mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 07:06:38 +08:00
@@ -47,6 +47,11 @@ on:
|
||||
description: 'Is build with backport'
|
||||
required: false
|
||||
|
||||
gxde-cross-arch:
|
||||
type: string
|
||||
description: 'Build deb to which arch'
|
||||
required: false
|
||||
|
||||
display-name:
|
||||
required: false
|
||||
type: string
|
||||
@@ -102,9 +107,15 @@ 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_ARCH=${{ inputs.arch }} 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 }} \
|
||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||
dpkg-buildpackage -b
|
||||
else
|
||||
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
|
||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||
bash build-deb.sh
|
||||
fi
|
||||
cp $BOTTLEPATH/*.deb . -rv
|
||||
sudo rename 's/\.deb$/_${{ inputs.gxde-codename }}.deb/' *.deb
|
||||
|
||||
Reference in New Issue
Block a user