We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 829c146 commit 2ccead5Copy full SHA for 2ccead5
action.yml
@@ -123,9 +123,7 @@ runs:
123
run: |
124
ver | findstr /i "10\.0\.17" && set VS2019INSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
125
ver | findstr /i "10\.0\.20" && set VS2022INSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Enterprise
126
- for /f "tokens=* usebackq" %%f in (`dir /b "%ONEAPI_ROOT%\compiler\" ^| findstr /V latest ^| sort`) do @set "LATEST=%%f"
127
- :: this script fails when install location is not the default
128
- call "%ONEAPI_ROOT%\compiler\%LATEST%\env\vars.bat"
+ call "%ONEAPI_ROOT%\setvars.bat"
129
set | findstr /c:"oneAPI" >> "%GITHUB_ENV%"
130
131
- name: Set outputs and env vars
0 commit comments