Skip to content

Commit

Permalink
me yet again...
Browse files Browse the repository at this point in the history
  • Loading branch information
Icehunter committed Jul 10, 2024
1 parent 33b7f82 commit 217adc1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@ jobs:
with:
name: sharlayan-latest
path: |
published/${{ env.SOLUTION_NAME }}.nupkg
published/
overwrite: true

# Publish to NuGet
- name: Publish to NuGet
run: dotnet nuget push published/${{ env.SOLUTION_NAME }}.nupkg --skip-duplicate --api-key ${{ env.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
# Publish each package to NuGet
- name: Publish each package to NuGet
run: |
$packages = Get-ChildItem -Path .\published\ -Filter *.nupkg
foreach ($package in $packages) {
dotnet nuget push $package.FullName --skip-duplicate --api-key ${{ env.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
}

0 comments on commit 217adc1

Please sign in to comment.