File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 3131 dotnet nuget push Geta.Optimizely.Tags.${{env.VERSION}}.nupkg --source https://nuget.pkg.github.com/Geta/index.json --api-key ${{env.GITHUB_TOKEN}}
3232 env :
3333 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ - name : Create GitHub Release with Auto-Generated Notes
35+ run : |
36+ gh release create ${{ github.ref_name }} --generate-notes
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39+ - name : Loop through all .nupkg files in the current directory and upload them to the release
40+ run : |
41+ Get-ChildItem -Filter *.nupkg -Recurse | ForEach-Object {
42+ Write-Host "Uploading file: $($_.Name)"
43+ gh release upload ${{ github.ref_name }} $_.FullName --clobber
44+ }
45+ env :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments