use gh cli instead of action for workflow dispatch

This commit is contained in:
hathach 2022-11-06 22:06:22 +07:00
parent fee90f353f
commit ca4ae61c1c
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
5 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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