Skip to content

Commit

Permalink
Update CI/Pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Balphagore committed Apr 8, 2024
1 parent 78a7c49 commit 2b4e0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: dotnet build --no-restore --configuration Release /p:DocumentationFile=bin/Release/netstandard2.1/Palworld.RESTSharp.xml Palworld.RESTSharp/Palworld.RESTSharp.csproj

- name: Pack
run: dotnet pack --no-build --configuration Release --output nupkg /p:PackageVersion=${{ github.ref_name }}.Substring(1) Palworld.RESTSharp/Palworld.RESTSharp.csproj
run: dotnet pack --no-build --configuration Release --output nupkg /p:PackageVersion=${{ github.ref_name }} Palworld.RESTSharp/Palworld.RESTSharp.csproj

- name: Publish to NuGet
run: dotnet nuget push "nupkg/*.nupkg" --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGETKEY}}
Expand Down

0 comments on commit 2b4e0c9

Please sign in to comment.