File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 63
63
cmakeVersion : ' 3.16.3'
64
64
- name : Print CMake version
65
65
run : cmake --version
66
+ - name : Create MRtrix install directory
67
+ run : |
68
+ sudo mkdir -p ${{ env.MRTRIX_INSTALL }}
69
+ sudo chown $USER ${{ env.MRTRIX_INSTALL }}
70
+ - name : Cache MRtrix Install
71
+ id : cache-install
72
+ uses : actions/cache@v4
73
+ with :
74
+ path : ${{ env.MRTRIX_INSTALL }}
75
+ key : mrtrix-${{ env.MRTRIX_VERSION }}-${{ runner.os }}
66
76
- name : Clone latest MRtrix and switch to latest tag
67
77
run : |
68
78
mkdir $MRTRIX_HOME
Original file line number Diff line number Diff line change 52
52
cmakeVersion : ' 3.16.3'
53
53
- name : Print CMake version
54
54
run : cmake --version
55
+
56
+ - name : Create MRtrix install directory
57
+ run : |
58
+ sudo mkdir -p ${{ env.MRTRIX_INSTALL }}
59
+ sudo chown $USER ${{ env.MRTRIX_INSTALL }}
60
+
61
+ - name : Cache MRtrix Install
62
+ id : cache-install
63
+ uses : actions/cache@v4
64
+ with :
65
+ path : ${{ env.MRTRIX_INSTALL }}
66
+ key : mrtrix-${{ env.MRTRIX_VERSION }}-${{ runner.os }}
67
+
55
68
- name : Clone latest MRtrix and switch to latest tag
56
69
run : |
57
70
mkdir $MRTRIX_HOME
@@ -205,11 +218,6 @@ jobs:
205
218
# checkout@v2 adds a header that makes branch protection report errors
206
219
# because the Github action bot is not a collaborator on the repo
207
220
run : git config --local --unset http.https://github.com/.extraheader
208
- - name : Download auto-gen pydra
209
- uses : actions/download-artifact@v4
210
- with :
211
- name : AutoGen
212
- path : pydra/tasks/mrtrix3/${{ env.SUBPKG_NAME }}
213
221
- name : Strip auto package from gitignore so it is included in package
214
222
run : |
215
223
sed -i '/\/pydra\/tasks\/mrtrix3\/${{ env.SUBPKG_NAME }}/d' .gitignore
You can’t perform that action at this time.
0 commit comments