diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 798f8d4..30b57a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,14 +83,16 @@ cache: # in the root of project repository, so its content can be cached. # # Learn more about GitLab cache: https://docs.gitlab.com/ee/ci/caching/index.html -before_script: - - 'cd $SOURCE_CODE_PATH' - - 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY' +#before_script: +# - 'cd $SOURCE_CODE_PATH' +# - 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY' build: stage: build # ### Build all projects discovered from solution file. script: + - 'cd $SOURCE_CODE_PATH' + - 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY' - 'curl -s --create-dirs "$RJW_DLL_URL" -o ../../rjw/$RIMWORLD_VERSION/Assemblies/RJW.dll' - 'dotnet build --no-restore' artifacts: