File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 steps :
1515 - uses : actions/checkout@v4
1616
17- - name : MFC Python setup
18- uses : actions/setup-python@v5
19- with :
20- python-version : ' 3.14'
21-
2217 - name : Initialize MFC
2318 run : ./mfc.sh init
2419
Original file line number Diff line number Diff line change @@ -123,13 +123,13 @@ jobs:
123123 sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
124124 sudo apt-get update
125125 sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-mpi intel-oneapi-mpi-devel
126+ # Export only new/changed env vars from setvars.sh.
127+ # `printenv >> $GITHUB_ENV` dumps all vars including shell internals
128+ # with special characters that corrupt GITHUB_ENV parsing.
129+ printenv | sort > /tmp/env_before
126130 source /opt/intel/oneapi/setvars.sh
127- printenv >> $GITHUB_ENV
128-
129- - name : Set up Python 3.14
130- uses : actions/setup-python@v5
131- with :
132- python-version : ' 3.14'
131+ printenv | sort > /tmp/env_after
132+ diff /tmp/env_before /tmp/env_after | grep '^>' | sed 's/^> //' >> $GITHUB_ENV
133133
134134 - name : Get system info for cache key
135135 id : sys-info
You can’t perform that action at this time.
0 commit comments