Commit 3670a3cf authored by Piotr Wosiek's avatar Piotr Wosiek

Update .NET Core YAML template

Improve indent for cache paths
parent 052072ff
...@@ -46,7 +46,7 @@ stages: ...@@ -46,7 +46,7 @@ stages:
# With global cache rule, cached dependencies will be downloaded before every job # With global cache rule, cached dependencies will be downloaded before every job
# and then unpacked to the paths as specified below. # and then unpacked to the paths as specified below.
cache: cache:
# Per-stage and per-branch caching. # Per-stage and per-branch caching.
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
paths: paths:
# Specify three paths that should be cached: # Specify three paths that should be cached:
...@@ -58,7 +58,6 @@ cache: ...@@ -58,7 +58,6 @@ cache:
- '$SOURCE_CODE_PATH$OBJECTS_DIRECTORY/*.csproj.nuget.*' - '$SOURCE_CODE_PATH$OBJECTS_DIRECTORY/*.csproj.nuget.*'
# 3) Path to the directory where restored dependencies are kept. # 3) Path to the directory where restored dependencies are kept.
- '$NUGET_PACKAGES_DIRECTORY' - '$NUGET_PACKAGES_DIRECTORY'
#
# 'pull-push' policy means that latest cache will be downloaded (if exists) # 'pull-push' policy means that latest cache will be downloaded (if exists)
# before executing the job, and a newer version will be uploaded afterwards. # before executing the job, and a newer version will be uploaded afterwards.
# Such setting saves time when there are no changes in referenced third-party # Such setting saves time when there are no changes in referenced third-party
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment