Skip to content

Commit 1bb3c01

Browse files
authored
Auto upload files to GitHub releases
1 parent 44b5a85 commit 1bb3c01

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,16 @@ jobs:
371371
- name: Upload NuGet package to NuGet.org
372372
if: ${{ github.event_name == 'release' }}
373373
run: dotnet nuget push nuget-publish/**.nupkg --source nuget --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
374+
375+
- name: Upload build to GitHub release
376+
if: ${{ github.event_name == 'release' }}
377+
uses: svenstaro/[email protected]
378+
with:
379+
repo_token: ${{ secrets.GITHUB_TOKEN }}
380+
file: versioned-publish/*
381+
overwrite: true
382+
tag: ${{ github.ref }}
383+
file_glob: true
374384

375385
- name: Restore local dotnet tools
376386
run: |

0 commit comments

Comments
 (0)