build: prepare for snapshot branch

--amend

--amend

--amend

--amend
This commit is contained in:
John Doe
2021-08-26 09:20:16 +08:00
parent 7b629c7304
commit 7bf707755c
11 changed files with 74 additions and 22 deletions

View File

@@ -2,10 +2,14 @@ name: Repo Dispatcher
on:
workflow_dispatch:
inputs:
branch:
description: 'select code branch to build'
default: '18.06'
require: true
device:
description: 'select device to build'
default: 'r2s'
required: false
required: true
package_clean:
description: 'check to make clean package'
default: 'false'
@@ -21,5 +25,4 @@ jobs:
-X POST https://api.github.com/repos/${{ github.repository }}/dispatches \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.SEC_TOKEN }}" \
-d '{"event_type": "${{ github.event.inputs.device }}", "client_payload": {"device": "${{ github.event.inputs.device }}", "package_clean": "${{ github.event.inputs.package_clean }}"}}' \
-v
-d '{"event_type": "${{ github.event.inputs.device }}", "client_payload": {"branch": "${{ github.event.inputs.branch }}", "device": "${{ github.event.inputs.device }}", "package_clean": "${{ github.event.inputs.package_clean }}" }}'