Skip to content

Commit 2157bd8

Browse files
committed
Fix yaml file issue
1 parent 56f9967 commit 2157bd8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ jobs:
2929
run: dotnet build KSFramework.sln --configuration Release --no-restore
3030

3131
- name: Pack NuGet
32-
run: dotnet pack src/KSFramework/KSFramework.csproj \
33-
--configuration Release \
34-
-p:PackageVersion=${{ env.PACKAGE_VERSION }} \
35-
--no-build -o out
32+
run: dotnet pack src/KSFramework/KSFramework.csproj --configuration Release -p:PackageVersion=${{ env.PACKAGE_VERSION }} --no-build -o out
3633

3734
- name: Push to NuGet
38-
run: dotnet nuget push out/*.nupkg \
39-
--api-key ${{ secrets.NUGET_API_KEY }} \
40-
--source https://api.nuget.org/v3/index.json
35+
run: dotnet nuget push out/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)