This commit is contained in:
Disyer
2024-02-01 00:01:27 +02:00
parent 6b7fe572fd
commit ac1c5ce9f8
+3 -10
View File
@@ -4,19 +4,12 @@ stages:
variables: variables:
MSBUILD_TARGET: 'CleanFlashInstaller/CleanFlashInstaller.csproj' MSBUILD_TARGET: 'CleanFlashInstaller/CleanFlashInstaller.csproj'
before_script:
- choco install visualstudio2019buildtools -y
- choco install visualstudio2022community --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
- RefreshEnv.cmd
build: build:
stage: build stage: build
script: script:
- '& nuget restore' # restore Nuget dependencies - '& nuget restore' # restore Nuget dependencies
- '& msbuild "$env:MSBUILD_TARGET" /p:Configuration=Release' - '& msbuild "$env:MSBUILD_TARGET" /p:Configuration=Release'
artifacts:
artifacts: paths:
paths:
- 'CleanFlashInstaller/bin/Release/*.exe' - 'CleanFlashInstaller/bin/Release/*.exe'
only: expire_in: never
- tags