try to trigger mynewt example

This commit is contained in:
hathach
2020-01-03 17:11:22 +07:00
parent 1bcf121785
commit 019d1b09c5
3 changed files with 9 additions and 11 deletions

View File

@@ -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"}'