mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
use msbuild
This commit is contained in:
parent
241471cf4f
commit
8c0be41cec
1 changed files with 7 additions and 2 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue