Skip to content

Commit

Permalink
Fix project file name.
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor0 committed Oct 8, 2024
1 parent a672635 commit aa5f4c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
case $version in v*) true;; *) echo "Git tag must start with a 'v'"; false;; esac
export version=${version:1}
echo $version
dotnet build /p:VersionPrefix=$version --configuration Release Xledger.Sql
dotnet pack /p:VersionPrefix=$version --configuration Release Xledger.Sql
dotnet build /p:VersionPrefix=$version --configuration Release Xledger.Collections
dotnet pack /p:VersionPrefix=$version --configuration Release Xledger.Collections
# https://learn.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-the-dotnet-cli
- name: Push package to nuget
run: dotnet nuget push Xledger.Sql/bin/Release/*.nupkg --api-key "$NUGET_API_KEY" --source https://api.nuget.org/v3/index.json
# run: dotnet nuget push Xledger.Sql/bin/Release/*.nupkg --api-key "$NUGET_API_KEY" --source https://apiint.nugettest.org/v3/index.json
run: dotnet nuget push Xledger.Collections/bin/Release/*.nupkg --api-key "$NUGET_API_KEY" --source https://api.nuget.org/v3/index.json
# run: dotnet nuget push Xledger.Collections/bin/Release/*.nupkg --api-key "$NUGET_API_KEY" --source https://apiint.nugettest.org/v3/index.json
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 comments on commit aa5f4c7

Please sign in to comment.