Skip to content

Commit 1f20228

Browse files
committed
Only export LIBCLANG_PATH when override=true
Closes: #35
1 parent dac4cfe commit 1f20228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ runs:
6666
"$HOME/.cargo/bin/espup" install -l debug --targets ${{ inputs.buildtargets }} $version
6767
source "$HOME/exports"
6868
echo "$PATH" >> "$GITHUB_PATH"
69-
echo "LIBCLANG_PATH=${LIBCLANG_PATH}" >> "$GITHUB_ENV"
69+
[[ "${{ inputs.override }}" = true ]] && echo "LIBCLANG_PATH=${LIBCLANG_PATH}" >> "$GITHUB_ENV" || true
7070
7171
- name: Install Xtensa toolchain (Windows)
7272
if: env.HOST_TARGET == 'x86_64-pc-windows-msvc'

0 commit comments

Comments
 (0)