Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
Родитель
f0b6e51d0d
Коммит
45683f41b7
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче