Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Hong Ooi 2019-08-06 05:00:51 +10:00
Родитель c65e00dc71
Коммит 577721d721
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -23,14 +23,14 @@ steps:
- bash: 'git push --prune https://$(ghPat)@github.com/cloudyr/AzureVMmetadata +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/*'
displayName: 'Copying to cloudyr'
- task: CacheBeta@0
inputs:
key: |
./DESCRIPTION
"$(containerImage)"
path: $(R_LIBS_USER)
displayName: 'Caching packages'
continueOnError: true
#- task: CacheBeta@0
# inputs:
# key: |
# ./DESCRIPTION
# "$(containerImage)"
# path: $(R_LIBS_USER)
# displayName: 'Caching packages'
# continueOnError: true
- bash: |
Rscript -e "print(Sys.getenv('R_LIBS_USER'))"