mirror of
https://gitlab.com/cleanflash/installer.git
synced 2026-08-13 02:41:38 +08:00
msbu
This commit is contained in:
+2
-1
@@ -2,13 +2,14 @@ stages:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe'
|
||||||
MSBUILD_TARGET: 'CleanFlashInstaller/CleanFlashInstaller.csproj'
|
MSBUILD_TARGET: 'CleanFlashInstaller/CleanFlashInstaller.csproj'
|
||||||
|
|
||||||
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'
|
- '& "$env:MSBUILD_PATH" "$env:MSBUILD_TARGET" /p:Configuration=Release'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- 'CleanFlashInstaller/bin/Release/*.exe'
|
- 'CleanFlashInstaller/bin/Release/*.exe'
|
||||||
|
|||||||
Reference in New Issue
Block a user