Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dclipca committed Jan 26, 2025
2 parents 160073d + 3c5fbeb commit aa55f8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-nuget-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Get version from source
id: get-version
run: |
VERSION=$(cat SpongeEngine.LLMSharp.Core/SpongeEngine.LLMSharp.Core.csproj | grep '<Version>' | sed -E 's/.*<Version>(.*)<\/Version>.*/\1/')
VERSION=$(cat SpongeEngine.SpongeLLM.Core/SpongeEngine.SpongeLLM.Core.csproj | grep '<Version>' | sed -E 's/.*<Version>(.*)<\/Version>.*/\1/')
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "Using version: $VERSION"
Expand All @@ -43,4 +43,4 @@ jobs:
run: dotnet pack --configuration Release --output ./output /p:Version=${{ env.VERSION }}

- name: Publish NuGet Package
run: dotnet nuget push ./output/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
run: dotnet nuget push ./output/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

0 comments on commit aa55f8f

Please sign in to comment.