弄错仓库路径了

This commit is contained in:
2024-08-30 16:37:20 +08:00
parent 00c233189f
commit e6dc0084fc
2 changed files with 16 additions and 15 deletions
+12 -12
View File
@@ -33,15 +33,15 @@ jobs:
- name: Configure Base System
run: |
bash .github/workflows/configure-building-enviroment-base-system.sh amd64 bookworm $REPOSITORY
bash .github/workflows/configure-building-enviroment-base-system.sh amd64 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY
- name: Building ${{ GITHUB.repository }}
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
- name: Remove Debug Package
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
- name: Pack tar
run: |
@@ -78,15 +78,15 @@ jobs:
- name: Configure Base System
run: |
bash .github/workflows/configure-building-enviroment-base-system.sh arm64 bookworm $REPOSITORY
bash .github/workflows/configure-building-enviroment-base-system.sh arm64 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY
- name: Building ${{ GITHUB.repository }}
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
- name: Remove Debug Package
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
- name: Pack tar
run: |
@@ -122,15 +122,15 @@ jobs:
- name: Configure Base System
run: |
bash .github/workflows/configure-building-enviroment-base-system.sh mips64el bookworm $REPOSITORY
bash .github/workflows/configure-building-enviroment-base-system.sh mips64el bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY
- name: Building ${{ GITHUB.repository }}
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
- name: Remove Debug Package
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
- name: Pack tar
run: |
@@ -165,15 +165,15 @@ jobs:
- name: Configure Base System
run: |
bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://mirror.sjtu.edu.cn/debian-ports/
bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://mirror.sjtu.edu.cn/debian-ports/
- name: Building ${{ GITHUB.repository }}
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh dpkg-buildpackage -b
- name: Remove Debug Package
run: |
env gitPath=$(basename $REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
- name: Pack tar
run: |
@@ -26,13 +26,14 @@ else
useDebianPort
fi
fi
sudo debootstrap --arch=$1 $2 $bottlePath $4
sudo debootstrap --arch=$1 $2 $bottlePath $5
sudo bash .github/workflows/pardus-chroot $bottlePath
# 配置 git
sudo chroot $bottlePath apt update
sudo chroot $bottlePath apt install git -y
sudo chroot $bottlePath git clone $3 --depth=1
sudo chroot $bottlePath git clone $4 --depth=1
sudo mv $bottlePath/$(basename $3)/.github $bottlePath/$(basename $4) -v
# 修改版本号
#sudo sed -i "s/) UNRELEASED; urgency=medium/~$2) UNRELEASED; urgency=medium/g" $bottlePath/deep-wine-runner-qemu-system/debian/changelog
env gitPath=$(basename $3) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh
env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh
exit 0