use msbuild

This commit is contained in:
jklingen 2025-04-11 17:03:05 +02:00 committed by GitHub
commit 8c0be41cec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,8 +18,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Set up .NET - name: Set up .NET
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v4
with: with:
dotnet-version: '5.x' dotnet-version: '5.x'
@ -40,7 +45,7 @@ jobs:
Picasa_ClientSecret: ${{ secrets.Picasa_ClientSecret }} Picasa_ClientSecret: ${{ secrets.Picasa_ClientSecret }}
- name: Build and package - name: Build and package
run: dotnet build src/Greenshot.sln --configuration Release --no-restore run: msbuild src/Greenshot.sln /p:Configuration=Release /t:Rebuild /v:normal
env: env:
Box13_ClientId: ${{ secrets.Box13_ClientId }} Box13_ClientId: ${{ secrets.Box13_ClientId }}
Box13_ClientSecret: ${{ secrets.Box13_ClientSecret }} Box13_ClientSecret: ${{ secrets.Box13_ClientSecret }}