We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccdb9b0 commit d04e73dCopy full SHA for d04e73d
.github/workflows/sycl-linux-build.yml
@@ -162,7 +162,17 @@ jobs:
162
- name: Setup oneAPI env
163
if: ${{ inputs.cc == 'icx' || inputs.cxx == 'icpx' }}
164
run: |
165
+ env_before=$(env | sort)
166
+
167
source /opt/intel/oneapi/setvars.sh
168
169
+ env_after=$(env | sort)
170
171
+ changed_envvars=$(comm -13 <(echo "$env_before") <(echo "$env_after"))
172
173
+ while IFS= read -r line; do
174
+ echo "$line" >> $GITHUB_ENV
175
+ done <<< "$changed_envvars"
176
177
- name: Configure
178
env:
0 commit comments