From 7f5fcbc3714c018d73c0b1308184106462d69f72 Mon Sep 17 00:00:00 2001 From: Disyer Date: Thu, 1 Feb 2024 00:12:51 +0200 Subject: [PATCH] msbu --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dbf93eb..5d3f22f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,13 +2,14 @@ stages: - build variables: + MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe' MSBUILD_TARGET: 'CleanFlashInstaller/CleanFlashInstaller.csproj' build: stage: build script: - '& nuget restore' # restore Nuget dependencies - - '& msbuild "$env:MSBUILD_TARGET" /p:Configuration=Release' + - '& "$env:MSBUILD_PATH" "$env:MSBUILD_TARGET" /p:Configuration=Release' artifacts: paths: - 'CleanFlashInstaller/bin/Release/*.exe'