Skip to content

Commit 9eb1ad3

Browse files
committed
Only export LIBCLANG_PATH when override=true
Closes: #35
1 parent b989c80 commit 9eb1ad3

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
@@ -65,7 +65,7 @@ runs:
6565
"$HOME/.cargo/bin/espup" install -l debug --export-file $HOME/exports --targets ${{ inputs.buildtargets }} $version
6666
source "$HOME/exports"
6767
echo "$PATH" >> "$GITHUB_PATH"
68-
echo "LIBCLANG_PATH=${LIBCLANG_PATH}" >> "$GITHUB_ENV"
68+
[[ "${{ inputs.override }}" = true ]] && echo "LIBCLANG_PATH=${LIBCLANG_PATH}" >> "$GITHUB_ENV"
6969
7070
- name: Install Xtensa toolchain (Windows)
7171
if: env.HOST_TARGET == 'x86_64-pc-windows-msvc'

0 commit comments

Comments
 (0)