mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Verify MSBuild
This commit is contained in:
parent
feec29ed74
commit
5853fdb424
1 changed files with 9 additions and 4 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
@ -29,16 +29,21 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install MSBuild
|
- name: Set up .NET
|
||||||
|
uses: actions/setup-dotnet@v3
|
||||||
|
with:
|
||||||
|
dotnet-version: '5.x.x'
|
||||||
|
|
||||||
|
- name: Verify MSBuild is available
|
||||||
run: |
|
run: |
|
||||||
choco install microsoft-build-tools -y
|
echo "Checking MSBuild version"
|
||||||
echo '##[add-path]C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin'
|
&"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe" -version
|
||||||
|
|
||||||
- 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: msbuild src/Greenshot.sln /p:Configuration=Release
|
run: &"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe" src/Greenshot.sln /p:Configuration=Release
|
||||||
|
|
||||||
- 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