Buddhist-style update

This commit is contained in:
johndoe
2021-02-27 06:20:25 +08:00
committed by John Doe
parent b2cb9bbd2a
commit e0ca1cbbba
61 changed files with 488 additions and 26965 deletions

20
.github/workflows/dispatch.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Repo Dispatcher
on:
workflow_dispatch:
inputs:
device:
description: 'select device to build'
default: 'r2s'
required: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Trigger Compile
run: |
curl \
-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 }}"}}'