Skip to content

Commit 86446a1

Browse files
committed
💯 Fixed missing nuget package licence
1 parent a13f1f0 commit 86446a1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ jobs:
3737
env:
3838
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3939
run: |
40+
# Copy Licence
41+
cp LICENSE NETCore.Keycloak.Client/
42+
4043
# Extract nuget package version
4144
NUGET_PKG_VERSION=$(cat NETCore.Keycloak.Client/NETCore.Keycloak.Client.csproj | grep "PackageVersion" | awk -F '>' '{print $2}' | awk -F '<' '{print $1}')
42-
dotnet nuget push NETCore.Keycloak.Client/bin/Release/NETCore.Keycloak.Client.${NUGET_PKG_VERSION}.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
45+
46+
# Deploy package
47+
dotnet nuget push NETCore.Keycloak.Client/bin/Release/Keycloak.NETCore.Client.${NUGET_PKG_VERSION}.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
4348

NETCore.Keycloak.Client/NETCore.Keycloak.Client.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
This library offers a robust implementation of Keycloak's REST API, including support for OpenID Connect, OAuth 2.0, and User-Managed Access (UMA 2.0).
77
</Description>
88
<PackageVersion>1.0.0</PackageVersion>
9-
<PackageId>NETCore.Keycloak</PackageId>
9+
<PackageId>Keycloak.NETCore.Client</PackageId>
1010
<PackageTags>keycloak;oauth2;authentication;authorization;openid-connect;oidc;oidc-provider;fapi;fapi-client;user-managed-access;financial-security</PackageTags>
1111
<PackageIcon>black_cockpit.png</PackageIcon>
1212
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
@@ -33,5 +33,6 @@
3333
<PackageReference Include="System.Text.Json" Version="8.0.5"/>
3434
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.33"/>
3535
<None Include="black_cockpit.png" Pack="true" PackagePath="\"/>
36+
<None Include="LICENSE" Pack="true" PackagePath="\"/>
3637
</ItemGroup>
3738
</Project>

0 commit comments

Comments
 (0)