File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -173,15 +173,17 @@ jobs:
173
173
datalad update -r --merge -d hcph-pilot_fieldmaps/
174
174
datalad get -r -J 2 -d hcph-pilot_fieldmaps/ hcph-pilot_fieldmaps/*
175
175
176
+ - name : Set FS_LICENSE variable
177
+ run : echo "FS_LICENSE=$HOME/.cache/freesurfer/license.txt" >> $GITHUB_ENV
176
178
177
179
- name : Install FreeSurfer's mri_robust_template
178
180
env :
179
181
MRI_ROBUST_TEMPLATE : sx2n7/providers/osfstorage/5e825301d0e35400ebb481f2
180
182
run : |
181
183
curl https://files.osf.io/v1/resources/$MRI_ROBUST_TEMPLATE?direct > mri_robust_template
182
184
sudo install mri_robust_template /usr/local/bin
183
- mkdir -p $HOME/.cache/freesurfer/
184
- echo "b2VzdGViYW5Ac3RhbmZvcmQuZWR1CjMwNzU2CiAqQ1MzYkJ5VXMxdTVNCiBGU2kvUGJsejJxR1V3Cg==" | base64 -d > $HOME/.cache/freesurfer/license.txt
185
+ mkdir -p $( dirname $FS_LICENSE )
186
+ echo "b2VzdGViYW5Ac3RhbmZvcmQuZWR1CjMwNzU2CiAqQ1MzYkJ5VXMxdTVNCiBGU2kvUGJsejJxR1V3Cg==" | base64 -d > $FS_LICENSE
185
187
186
188
- name : Run pytest with coverage
187
189
run : |
You can’t perform that action at this time.
0 commit comments