Update .gitlab-ci.yml file

This commit is contained in:
amevarashi 2024-04-27 18:29:44 +00:00
parent 8bd4d5cd14
commit 8315e2b8be

View file

@ -85,7 +85,7 @@ cache:
# 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'
- 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY'
build:
stage: build
@ -98,7 +98,7 @@ build:
# where it is located (e.g. 'dotnet build ./src/ConsoleApp').
# Only one project path can be passed as a parameter to 'dotnet build' command.
script:
- 'curl --create-dirs "$RJW_DLL_URL" -o ../../rjw/$RIMWORLD_VERSION/Assemblies/RJW.dll'
- 'curl -s --create-dirs "$RJW_DLL_URL" -o ../../rjw/$RIMWORLD_VERSION/Assemblies/RJW.dll'
- 'dotnet build --no-restore'
#tests: