try to trigger mynewt example
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -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"}'
|
||||
|
||||
|
Reference in New Issue
Block a user