summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-11-06 22:06:22 +0700
committerhathach <[email protected]>2022-11-06 22:06:22 +0700
commitca4ae61c1ce79f36e540fa4848b9e575a21e71d3 (patch)
tree7297642fc1a678217866da8671e70e8f1942f677 /.github
parentfee90f353f426d6fafe323534ad7d91918d4b98d (diff)
use gh cli instead of action for workflow dispatch
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_aarch64.yml2
-rw-r--r--.github/workflows/build_arm.yml9
-rw-r--r--.github/workflows/build_esp.yml2
-rw-r--r--.github/workflows/build_renesas.yml2
-rw-r--r--.github/workflows/build_riscv.yml2
5 files changed, 13 insertions, 4 deletions
diff --git a/.github/workflows/build_aarch64.yml b/.github/workflows/build_aarch64.yml
index d610d6eff..18989a5e9 100644
--- a/.github/workflows/build_aarch64.yml
+++ b/.github/workflows/build_aarch64.yml
@@ -22,6 +22,8 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Checkout TinyUSB
uses: actions/checkout@v3
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml
index 4d27ba729..12853b72b 100644
--- a/.github/workflows/build_arm.yml
+++ b/.github/workflows/build_arm.yml
@@ -66,6 +66,8 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Install ARM GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1
@@ -121,10 +123,9 @@ jobs:
- name: Trigger Hardware Test
if: matrix.family == 'rp2040' && github.repository_owner == 'hathach'
- uses: benc-uk/workflow-dispatch@v1
- with:
- workflow: Hardware Test
- token: ${{ secrets.TRIGGER_SELF_HOSTED }}
+ env:
+ GH_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
+ run: gh workflow run test_hardware.yml -r $GITHUB_REF
# ---------------------------------------
# Build all no-family (orphaned) boards
diff --git a/.github/workflows/build_esp.yml b/.github/workflows/build_esp.yml
index 162226cc5..51d91de49 100644
--- a/.github/workflows/build_esp.yml
+++ b/.github/workflows/build_esp.yml
@@ -24,6 +24,8 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Pull ESP-IDF docker
run: docker pull espressif/idf:latest
diff --git a/.github/workflows/build_renesas.yml b/.github/workflows/build_renesas.yml
index c8920c7f7..d212708f7 100644
--- a/.github/workflows/build_renesas.yml
+++ b/.github/workflows/build_renesas.yml
@@ -19,6 +19,8 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Checkout TinyUSB
uses: actions/checkout@v3
diff --git a/.github/workflows/build_riscv.yml b/.github/workflows/build_riscv.yml
index a0e09190b..96b8c676b 100644
--- a/.github/workflows/build_riscv.yml
+++ b/.github/workflows/build_riscv.yml
@@ -20,6 +20,8 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Checkout TinyUSB
uses: actions/checkout@v3