Hi
Having recently set up a pipline for a dotnetcore project we have this yml file defined:
image: mcr.microsoft.com/dotnet/core/sdk:3.1
pipelines:
default:
- step:
name: Build FM.Web
caches:
- dotnetcore
script:
- REPORTS_PATH=./test-reports/build_${BITBUCKET_BUILD_NUMBER}
- dotnet restore
- dotnet build --no-restore --configuration Release
- dotnet publish --configuration Release --no-build --no-restore ./FM.Web/FM.Web.csproj -o ./publish
artifacts:
- publish/**
Looking at the build logs we can see that the cache directive for dotnetcore seems to be failing.
Cache "dotnetcore": Downloading
Cache
"dotnetcore": Not found
Any ideas why the cache would be failing for us?
Thanks