diff --git a/.gitea/workflows/publish-nugets.yaml b/.gitea/workflows/publish-nugets.yaml index 672d1fb..2e7a011 100644 --- a/.gitea/workflows/publish-nugets.yaml +++ b/.gitea/workflows/publish-nugets.yaml @@ -33,6 +33,10 @@ jobs: - name: Build and Pack NuGet Package run: dotnet pack -c Release -o ./artifacts -p:Version=${{ env.RELEASE_VERSION }} - - name: Publish to NuGet.org + - name: Publish Nugets to NuGet.org run: | - dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} \ No newline at end of file + dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} + + - name: Publish Symbols to NuGet.org + run: | + dotnet nuget push ./artifacts/*.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} \ No newline at end of file diff --git a/OpenHarbor.JwtTokenManager.Abstractions/OpenHarbor.JwtTokenManager.Abstractions.csproj b/OpenHarbor.JwtTokenManager.Abstractions/OpenHarbor.JwtTokenManager.Abstractions.csproj index 5f95f48..61c2f50 100644 --- a/OpenHarbor.JwtTokenManager.Abstractions/OpenHarbor.JwtTokenManager.Abstractions.csproj +++ b/OpenHarbor.JwtTokenManager.Abstractions/OpenHarbor.JwtTokenManager.Abstractions.csproj @@ -13,8 +13,12 @@ git true MIT + + portable + true true true + snupkg diff --git a/OpenHarbor.JwtTokenManager/OpenHarbor.JwtTokenManager.csproj b/OpenHarbor.JwtTokenManager/OpenHarbor.JwtTokenManager.csproj index 4382d5a..b57f718 100644 --- a/OpenHarbor.JwtTokenManager/OpenHarbor.JwtTokenManager.csproj +++ b/OpenHarbor.JwtTokenManager/OpenHarbor.JwtTokenManager.csproj @@ -13,8 +13,12 @@ git true MIT + + portable + true true true + snupkg true