Files
GXDE/.github/workflows/building-deb.yml
T

56 lines
1.5 KiB
YAML
Executable File

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.yml@master
secrets: inherit
call-hetao:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-hetao.yml@master
secrets: inherit
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'