stages: - build build_job: stage: build image: mcr.microsoft.com/dotnet/framework/sdk:3.5 tags: - shared-windows - windows script: - '& msbuild /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin CleanFlashUninstaller/CleanFlashUninstaller.csproj' artifacts: expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on paths: - 'bin\CleanFlashUninstaller.exe'