summaryrefslogtreecommitdiff
path: root/.github/actions/setup_toolchain
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-28 13:21:38 +0700
committerhathach <[email protected]>2025-10-28 14:14:01 +0700
commitd92b810df7670aae0e195fd02abef5014470c2f7 (patch)
tree483d0928f9c1f5bd75770b23d9309dcb5113312c /.github/actions/setup_toolchain
parent417f44acab92c42338b584bd0511e51781ff2821 (diff)
fix Identifiers that start with '__' or '_[A-Z]' are reserved.
fix compiling with nuc family
Diffstat (limited to '.github/actions/setup_toolchain')
-rw-r--r--.github/actions/setup_toolchain/action.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/actions/setup_toolchain/action.yml b/.github/actions/setup_toolchain/action.yml
index 292fd172d..d15a29f20 100644
--- a/.github/actions/setup_toolchain/action.yml
+++ b/.github/actions/setup_toolchain/action.yml
@@ -33,7 +33,7 @@ runs:
env:
TOOLCHAIN: ${{ inputs.toolchain }}
run: |
- TOOLCHAIN_URL=$(jq -r '."$TOOLCHAIN"' .github/actions/setup_toolchain/toolchain.json)
+ TOOLCHAIN_URL=$(jq -r --arg tc "$TOOLCHAIN" '.[$tc]' .github/actions/setup_toolchain/toolchain.json)
echo "toolchain_url=$TOOLCHAIN_URL"
echo "toolchain_url=$TOOLCHAIN_URL" >> $GITHUB_OUTPUT
shell: bash