diff --git a/.github/workflows/building-deb-cross.yml b/.github/workflows/building-deb-cross.yml new file mode 100755 index 0000000..31ee1ed --- /dev/null +++ b/.github/workflows/building-deb-cross.yml @@ -0,0 +1,35 @@ +name: Building GXDE Testing Package +run-name: Building ${{ GITHUB.REPOSITORY }} + +on: + workflow_call: + secrets: + PASSWD: + required: true + USERS: + required: true + HOST: + required: true + UPATH: + required: true + UPROGRAM: + required: true + UPORT: + required: true + +env: + REPOSITORY: https://github.com/GXDE-OS/GXDE + BOTTLEPATH: system-bottle + +jobs: + call-zhuangzhuang: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-zhuangzhuang-cross.yml@master + secrets: inherit + + call-hetao: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-hetao-cross.yml@master + secrets: inherit + + call-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-tianlu-cross.yml@master + secrets: inherit diff --git a/.github/workflows/building-deb-hetao-cross.yml b/.github/workflows/building-deb-hetao-cross.yml new file mode 100755 index 0000000..830edeb --- /dev/null +++ b/.github/workflows/building-deb-hetao-cross.yml @@ -0,0 +1,71 @@ +name: Building GXDE Package (hetao) +run-name: Building ${{ GITHUB.REPOSITORY }} + +on: + workflow_call: + secrets: + PASSWD: + required: true + USERS: + required: true + HOST: + required: true + UPATH: + required: true + UPROGRAM: + required: true + UPORT: + required: true + +env: + REPOSITORY: https://github.com/GXDE-OS/GXDE + BOTTLEPATH: system-bottle + +jobs: + call-amd64-hetao: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: amd64-hetao + arch: amd64 + rootfs-codename: crimson + rootfs-source: https://mirrors.kernel.org/deepin/beige/ + gxde-codename: hetao + gxde-codename-upload: hetao + gxde-cross-arch: amd64 + + call-arm64-hetao: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: arm64-hetao + arch: amd64 + rootfs-codename: crimson + rootfs-source: https://mirrors.kernel.org/deepin/beige/ + gxde-codename: hetao + gxde-codename-upload: hetao + gxde-cross-arch: arm64 + + call-loong64-hetao: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: loong64-hetao + arch: amd64 + rootfs-codename: crimson + rootfs-source: https://mirrors.kernel.org/deepin/beige/ + gxde-codename: hetao + gxde-codename-upload: hetao + gxde-cross-arch: loong64 + + call-riscv64-hetao: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: riscv64-hetao + arch: amd64 + rootfs-codename: crimson + rootfs-source: https://mirrors.kernel.org/deepin/beige/ + gxde-codename: hetao + gxde-codename-upload: hetao + gxde-cross-arch: riscv64 diff --git a/.github/workflows/building-deb-tianlu-cross.yml b/.github/workflows/building-deb-tianlu-cross.yml new file mode 100755 index 0000000..c16a13a --- /dev/null +++ b/.github/workflows/building-deb-tianlu-cross.yml @@ -0,0 +1,72 @@ +name: Building GXDE Testing Package (tianlu) +run-name: Building ${{ GITHUB.REPOSITORY }} + +on: + workflow_call: + secrets: + PASSWD: + required: true + USERS: + required: true + HOST: + required: true + UPATH: + required: true + UPROGRAM: + required: true + UPORT: + required: true + +env: + REPOSITORY: https://github.com/GXDE-OS/GXDE + BOTTLEPATH: system-bottle + +jobs: + call-i386-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: i386-tianlu + arch: i386 + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu + gxde-cross-arch: i386 + + + call-amd64-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: amd64-tianlu + arch: amd64 + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu + gxde-cross-arch: amd64 + + call-arm64-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: arm64-tianlu + arch: amd64 + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu + gxde-cross-arch: arm64 + + call-mips64el-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: mips64el-tianlu + arch: amd64 + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu + gxde-cross-arch: mips64el diff --git a/.github/workflows/building-deb-zhuangzhuang-cross.yml b/.github/workflows/building-deb-zhuangzhuang-cross.yml new file mode 100755 index 0000000..b0bd2de --- /dev/null +++ b/.github/workflows/building-deb-zhuangzhuang-cross.yml @@ -0,0 +1,60 @@ +name: Building GXDE Testing Package (zhuangzhuang) +run-name: Building ${{ GITHUB.REPOSITORY }} + +on: + workflow_call: + secrets: + PASSWD: + required: true + USERS: + required: true + HOST: + required: true + UPATH: + required: true + UPROGRAM: + required: true + UPORT: + required: true + +env: + REPOSITORY: https://github.com/GXDE-OS/GXDE + BOTTLEPATH: system-bottle + +jobs: + call-amd64-zhuangzhuang: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: amd64-zhuangzhuang + arch: amd64 + rootfs-codename: trixie + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: lizhi + gxde-codename-upload: zhuangzhuang + gxde-cross-arch: amd64 + + call-arm64-zhuangzhuang: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: arm64-zhuangzhuang + arch: amd64 + rootfs-codename: trixie + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: lizhi + gxde-codename-upload: zhuangzhuang + gxde-cross-arch: arm64 + + + call-riscv64-zhuangzhuang: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: riscv64-zhuangzhuang + arch: amd64 + rootfs-codename: trixie + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: lizhi + gxde-codename-upload: zhuangzhuang + gxde-cross-arch: riscv64 diff --git a/.github/workflows/building-deb.yml b/.github/workflows/building-deb.yml index 2db64e4..6b9e394 100755 --- a/.github/workflows/building-deb.yml +++ b/.github/workflows/building-deb.yml @@ -32,25 +32,4 @@ jobs: call-tianlu: uses: GXDE-OS/GXDE/.github/workflows/building-deb-tianlu.yml@master - secrets: inherit - - UploadOBS: - if: github.repository_owner == 'GXDE-OS' - runs-on: ubuntu-latest - steps: - - name: Get REPOSITORY Name - run: | - echo "REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2)" >> $GITHUB_ENV - REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2) - mkdir /home/runner/work/$REPO_NAME/$REPO_NAME/debian-deb-output - - - name: Upload to OBS - uses: LingmoOS/action-upload-to-obs@0.0.4 - with: - remove-old-sources: true - obs-package-name: ${{ env.REPO_NAME }} - obs-project-name: 'home:gfdgd-xi' - obs-user-name: ${{ secrets.OBS_USERNAME }} - obs-password: ${{ secrets.OBS_PASSWORD }} - obs-instance-url: 'https://api.opensuse.org' - local-package-dir: './debian-deb-output' \ No newline at end of file + secrets: inherit \ No newline at end of file