Update .gitlab-ci.yml

This commit is contained in:
Kai Kriegel 2020-09-17 13:22:34 +00:00
parent dc25470c8c
commit 1186b8f225

View File

@ -46,11 +46,11 @@ build_job:
# - tags # the build process will only be started by git tag commits # - tags # the build process will only be started by git tag commits
script: script:
- '& "$env:NUGET_PATH" restore' # restore Nuget dependencies - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
- '& "$env:MSBUILD_PATH" /p:Configuration=Release' # build the project - '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin' # build the project
artifacts: artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: paths:
- '$env:EXE_RELEASE_FOLDER\YourApp.exe' # saving exe to copy to deploy folder - '$env:EXE_RELEASE_FOLDER\Borepin.exe' # saving exe to copy to deploy folder
- '$env:MSI_RELEASE_FOLDER\YourApp Setup.msi' # saving msi to copy to deploy folder - '$env:MSI_RELEASE_FOLDER\YourApp Setup.msi' # saving msi to copy to deploy folder
- '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests