Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Hong Ooi 2019-08-06 03:58:15 +10:00
Родитель f0b6e51d0d
Коммит 45683f41b7
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -5,6 +5,8 @@ variables:
- group: GH - group: GH
- name: R_LIBS_USER - name: R_LIBS_USER
value: '$(Agent.BuildDirectory)/R/library' value: '$(Agent.BuildDirectory)/R/library'
- name: containerImage
value: rocker/rstudio:latest
pool: pool:
vmImage: 'ubuntu-latest' vmImage: 'ubuntu-latest'
@ -23,7 +25,9 @@ steps:
- task: CacheBeta@0 - task: CacheBeta@0
inputs: inputs:
key: ./DESCRIPTION $(Agent.JobName) key: |
./DESCRIPTION
"$(containerImage)"
path: $(R_LIBS_USER) path: $(R_LIBS_USER)
displayName: 'Caching packages' displayName: 'Caching packages'
continueOnError: true continueOnError: true