diff options
| author | hathach <[email protected]> | 2020-01-03 17:11:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-01-03 17:11:22 +0700 |
| commit | 019d1b09c5fcaa601af6e0a2aba882031bcbd3c7 (patch) | |
| tree | 8cb1ce4350515183c51b4daf4851435bb98bff35 /.github/workflows | |
| parent | 1bcf1217857fe5228669c01f8e78e5d411ee06a0 (diff) | |
try to trigger mynewt example
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e71351a9..fbbea9e15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,3 +52,11 @@ jobs: - name: Build run: python3 tools/build_all.py ${{ matrix.example }} + + trigger-mynewt: + runs-on: ubuntu-latest + needs: build + steps: + - name: Trigger mynewt-tinyusb-example + - run: curl -XPOST -u "hathach:${{secrets.MYNEWT_EXAMPLE_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/hathach/mynewt-tinyusb-example/dispatches --data '{"event_type": "build_application"}' + |
