summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-03 10:46:53 +0700
committerhathach <[email protected]>2025-11-03 10:46:53 +0700
commit8e9ba218157eb1777872319ce3031ba5be6d7ccc (patch)
tree21e047068a58bd7c4d9c97b87eaf727d2a74b252 /.github/workflows
parentbda7efb1b3d482b7add2535a4a72f51a0dea5c08 (diff)
fix alert using input in gh action. fix some conversion int
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_util.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build_util.yml b/.github/workflows/build_util.yml
index a2c96f3c0..55901b838 100644
--- a/.github/workflows/build_util.yml
+++ b/.github/workflows/build_util.yml
@@ -60,8 +60,9 @@ jobs:
- name: Build
env:
IAR_LMS_BEARER_TOKEN: ${{ secrets.IAR_LMS_BEARER_TOKEN }}
+ TOOLCHAIN: ${{ inputs.toolchain }}
run: |
- if [ "${{ inputs.toolchain }}" == "esp-idf" ]; then
+ if [ "$TOOLCHAIN" == "esp-idf" ]; then
docker run --rm -v $PWD:/project -w /project espressif/idf:tinyusb python tools/build.py ${{ matrix.arg }}
else
python tools/build.py -s ${{ inputs.build-system }} ${{ steps.setup-toolchain.outputs.build_option }} ${{ steps.set-one-per-family.outputs.build_option }} ${{ matrix.arg }}