mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 22:13:23 -07:00
Fix path in copy files and copy env to restore nuget step
This commit is contained in:
parent
006eb3a5b4
commit
d7312d4d52
1 changed files with 15 additions and 3 deletions
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
|
@ -31,8 +31,20 @@ jobs:
|
|||
dotnet-version: '7.x'
|
||||
|
||||
- name: Restore NuGet packages
|
||||
run: |
|
||||
msbuild src/Greenshot.sln /p:Configuration=Release /restore /t:PrepareForBuild
|
||||
run: msbuild src/Greenshot.sln /p:Configuration=Release /restore /t:PrepareForBuild
|
||||
env:
|
||||
Box13_ClientId: ${{ secrets.Box13_ClientId }}
|
||||
Box13_ClientSecret: ${{ secrets.Box13_ClientSecret }}
|
||||
DropBox13_ClientId: ${{ secrets.DropBox13_ClientId }}
|
||||
DropBox13_ClientSecret: ${{ secrets.DropBox13_ClientSecret }}
|
||||
Flickr_ClientId: ${{ secrets.Flickr_ClientId }}
|
||||
Flickr_ClientSecret: ${{ secrets.Flickr_ClientSecret }}
|
||||
Imgur13_ClientId: ${{ secrets.Imgur13_ClientId }}
|
||||
Imgur13_ClientSecret: ${{ secrets.Imgur13_ClientSecret }}
|
||||
Photobucket_ClientId: ${{ secrets.Photobucket_ClientId }}
|
||||
Photobucket_ClientSecret: ${{ secrets.Photobucket_ClientSecret }}
|
||||
Picasa_ClientId: ${{ secrets.Picasa_ClientId }}
|
||||
Picasa_ClientSecret: ${{ secrets.Picasa_ClientSecret }}
|
||||
|
||||
- name: Build and package
|
||||
run: msbuild src/Greenshot.sln /p:Configuration=Release /t:Rebuild /v:normal
|
||||
|
@ -53,7 +65,7 @@ jobs:
|
|||
- name: Copy Files
|
||||
run: |
|
||||
mkdir -p ${{ github.workspace }}/artifacts
|
||||
cp $(Build.SourcesDirectory)/installer/Greenshot-INSTALLER-*.exe ${{ github.workspace }}/artifacts/
|
||||
cp installer/Greenshot-INSTALLER-*.exe ${{ github.workspace }}/artifacts/
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue