use gh cli instead of action for workflow dispatch
This commit is contained in:
2
.github/workflows/build_aarch64.yml
vendored
2
.github/workflows/build_aarch64.yml
vendored
@@ -22,6 +22,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
9
.github/workflows/build_arm.yml
vendored
9
.github/workflows/build_arm.yml
vendored
@@ -66,6 +66,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install ARM GCC
|
- name: Install ARM GCC
|
||||||
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
||||||
@@ -121,10 +123,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Trigger Hardware Test
|
- name: Trigger Hardware Test
|
||||||
if: matrix.family == 'rp2040' && github.repository_owner == 'hathach'
|
if: matrix.family == 'rp2040' && github.repository_owner == 'hathach'
|
||||||
uses: benc-uk/workflow-dispatch@v1
|
env:
|
||||||
with:
|
GH_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
|
||||||
workflow: Hardware Test
|
run: gh workflow run test_hardware.yml -r $GITHUB_REF
|
||||||
token: ${{ secrets.TRIGGER_SELF_HOSTED }}
|
|
||||||
|
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
# Build all no-family (orphaned) boards
|
# Build all no-family (orphaned) boards
|
||||||
|
2
.github/workflows/build_esp.yml
vendored
2
.github/workflows/build_esp.yml
vendored
@@ -24,6 +24,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Pull ESP-IDF docker
|
- name: Pull ESP-IDF docker
|
||||||
run: docker pull espressif/idf:latest
|
run: docker pull espressif/idf:latest
|
||||||
|
2
.github/workflows/build_renesas.yml
vendored
2
.github/workflows/build_renesas.yml
vendored
@@ -19,6 +19,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
2
.github/workflows/build_riscv.yml
vendored
2
.github/workflows/build_riscv.yml
vendored
@@ -20,6 +20,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Reference in New Issue
Block a user