mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 22:13:23 -07:00
Debugging
This commit is contained in:
parent
e80350731d
commit
f74387da96
1 changed files with 10 additions and 2 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -37,14 +37,22 @@ jobs:
|
|||
- name: Verify MSBuild is available
|
||||
run: |
|
||||
echo "Checking MSBuild version"
|
||||
if (Test-Path "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe") {
|
||||
&"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe" -version
|
||||
} else {
|
||||
Write-Error "MSBuild.exe not found"
|
||||
}
|
||||
|
||||
- name: Restore NuGet packages
|
||||
run: nuget restore src/Greenshot.sln
|
||||
|
||||
- name: Build and package
|
||||
run: |
|
||||
if (Test-Path "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe") {
|
||||
&"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe" src/Greenshot.sln /p:Configuration=Release
|
||||
} else {
|
||||
Write-Error "MSBuild.exe not found"
|
||||
}
|
||||
|
||||
- name: Copy Files to artifact staging directory
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue