mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 17:36:37 +08:00
@@ -47,6 +47,11 @@ on:
|
|||||||
description: 'Is build with backport'
|
description: 'Is build with backport'
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
gxde-cross-arch:
|
||||||
|
type: string
|
||||||
|
description: 'Build deb to which arch'
|
||||||
|
required: false
|
||||||
|
|
||||||
display-name:
|
display-name:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
@@ -102,9 +107,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
gitPath=$(basename $GITHUB_REPOSITORY)
|
gitPath=$(basename $GITHUB_REPOSITORY)
|
||||||
if [[ -f system-bottle/$gitPath/debian/control ]]; then
|
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
|
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
|
fi
|
||||||
cp $BOTTLEPATH/*.deb . -rv
|
cp $BOTTLEPATH/*.deb . -rv
|
||||||
sudo rename 's/\.deb$/_${{ inputs.gxde-codename }}.deb/' *.deb
|
sudo rename 's/\.deb$/_${{ inputs.gxde-codename }}.deb/' *.deb
|
||||||
|
|||||||
Reference in New Issue
Block a user