Skip to content

x86: Add deepin_x86_desktop_defconfig #1

x86: Add deepin_x86_desktop_defconfig

x86: Add deepin_x86_desktop_defconfig #1

name: backup to gitlab
workflow_call:

Check failure on line 2 in .github/workflows/backup-to-gitlabwh.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/backup-to-gitlabwh.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
secrets:
BRIDGETOKEN:
required: true
jobs:
backup-to-gitlab:
if: github.repository_owner == 'deepin-community'
name: backup-to-gitlab
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: "linuxdeepin/jenkins-bridge-client"
path: jenkins-bridge-client
- name: Install Client
run: |
cd $GITHUB_WORKSPACE/jenkins-bridge-client
go build .
sudo install -Dvm755 jenkins-bridge-client -t /usr/bin/
- name: Trigger sync
id: generate-runid
run: |
echo "::set-output name=RUN_ID::$(jenkins-bridge-client triggerSync --token '${{ secrets.BRIDGETOKEN }}')"
- name: Print log
run: |
jenkins-bridge-client printLog --token "${{ secrets.BRIDGETOKEN }}" --runid "${{ steps.generate-runid.outputs.RUN_ID }}"