Skip to content

Commit 0f5538b

Browse files
authored
Update ToolboxDistribution.yml
1 parent 13ae761 commit 0f5538b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

AzureDevOps/ToolboxDistribution.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ jobs:
1212
pool:
1313
vmImage: $(imageName)
1414
steps:
15-
- task: Cache@2
16-
inputs:
17-
key: "$(imageName)"
18-
restoreKeys: |
19-
"$(imageName)"
20-
path: "$(MATLABROOT)"
21-
cacheHitVar: CACHE_RESTORED
22-
displayName: Cache MATLAB
2315

2416
# - script: |
2517
# echo $PATH
@@ -40,6 +32,15 @@ jobs:
4032
- task: InstallMATLAB@1
4133
condition: ne(variables.CACHE_RESTORED, 'true')
4234

35+
# - task: Cache@2
36+
# inputs:
37+
# key: "$(imageName)"
38+
# restoreKeys: |
39+
# "$(imageName)"
40+
# path: "$(MATLABROOT)"
41+
# cacheHitVar: CACHE_RESTORED
42+
# displayName: Cache MATLAB
43+
4344
- task: RunMATLABCommand@1
4445
inputs:
4546
command: "fid = fopen('matlabroot.txt','w'); fprintf(fid, '%s', matlabroot); fclose(fid);"

0 commit comments

Comments
 (0)