summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorgsnxp <[email protected]>2020-02-17 13:06:44 -0800
committerGitHub <[email protected]>2020-02-17 13:06:44 -0800
commit616562a48aa1d8ce2f4ca71f6e780a8bec9fb5eb (patch)
tree709e6aaff866c54087d9fc0f6ee80270394ccda9 /.github
parent6b3eb5f17386d21b2b9f0bad2d1c06b73f07cb5f (diff)
parent0d3a7257f54db8b867be35d80b9c1fda85f656d3 (diff)
Merge pull request #1 from hathach/master
syncing to source repo
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml4
-rw-r--r--.github/workflows/trigger.yml14
2 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6e71351a9..729222512 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -24,7 +24,8 @@ jobs:
strategy:
fail-fast: false
matrix:
- example: ['board_test', 'cdc_msc', 'dfu_rt', 'hid_composite', 'hid_generic_inout', 'midi_test', 'msc_dual_lun', 'usbtmc', 'webusb_serial']
+ example: ['board_test', 'cdc_dual_ports', 'cdc_msc', 'dfu_rt', 'hid_composite',
+ 'hid_generic_inout', 'midi_test', 'msc_dual_lun', 'usbtmc', 'webusb_serial']
steps:
- name: Setup Python
uses: actions/setup-python@v1
@@ -52,3 +53,4 @@ jobs:
- name: Build
run: python3 tools/build_all.py ${{ matrix.example }}
+
diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml
new file mode 100644
index 000000000..a7ef1341d
--- /dev/null
+++ b/.github/workflows/trigger.yml
@@ -0,0 +1,14 @@
+name: Trigger Repos
+
+on:
+ push:
+ branches: master
+
+jobs:
+ trigger:
+ runs-on: ubuntu-latest
+ steps:
+ - name: mynewt-tinyusb-example
+ shell: bash
+ run: |
+ curl -X POST -H "Authorization: token ${{ secrets.GH_REPO_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type": "rebuild"}' https://api.github.com/repos/hathach/mynewt-tinyusb-example/dispatches