Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,13 @@ jobs:
permissions:
contents: write
steps:
- name: Install NuGet.exe
uses: nuget/setup-nuget@v2
with:
nuget-version: 'latest'
- name: Download packages
uses: actions/download-artifact@v4
with:
name: Packages
path: Artifacts/Packages
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v4
- name: Publish
run: |
echo "Found the following packages to push:"
Expand All @@ -161,7 +159,7 @@ jobs:
done
for entry in Artifacts/Packages/Core/*.nupkg
do
nuget push $entry -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} -SkipDuplicate
dotnet nuget push $entry --source https://api.nuget.org/v3/index.json --api-key "${{secrets.NUGET_API_KEY}}" --skip-duplicate
done

push:
Expand All @@ -173,15 +171,13 @@ jobs:
permissions:
contents: write
steps:
- name: Install NuGet.exe
uses: nuget/setup-nuget@v2
with:
nuget-version: 'latest'
- name: Download packages
uses: actions/download-artifact@v4
with:
name: Packages
path: Artifacts/Packages
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v4
- name: Publish
run: |
echo "Found the following packages to push:"
Expand All @@ -192,7 +188,7 @@ jobs:
done
for entry in Artifacts/Packages/Main/*.nupkg
do
nuget push $entry -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} -SkipDuplicate
dotnet nuget push $entry --source https://api.nuget.org/v3/index.json --api-key "${{secrets.NUGET_API_KEY}}" --skip-duplicate
done
- name: Create GitHub release
continue-on-error: true
Expand Down
Loading