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
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -37,14 +37,22 @@ jobs:
|
||||||
- name: Verify MSBuild is available
|
- name: Verify MSBuild is available
|
||||||
run: |
|
run: |
|
||||||
echo "Checking MSBuild version"
|
echo "Checking MSBuild version"
|
||||||
&"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe" -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
|
- name: Restore NuGet packages
|
||||||
run: nuget restore src/Greenshot.sln
|
run: nuget restore src/Greenshot.sln
|
||||||
|
|
||||||
- name: Build and package
|
- name: Build and package
|
||||||
run: |
|
run: |
|
||||||
&"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe" src/Greenshot.sln /p:Configuration=Release
|
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
|
- name: Copy Files to artifact staging directory
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue