Skip to content

Commit 312fde9

Browse files
committed
Beta.1 version
1 parent a3831bc commit 312fde9

File tree

5 files changed

+54
-31
lines changed

5 files changed

+54
-31
lines changed

.github/workflows/publish.yml

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -119,36 +119,38 @@ jobs:
119119
name: CoverageReport-html
120120
path: coveragereport/*.html
121121

122-
# build2:
123-
# runs-on: ubuntu-latest
124-
# permissions:
125-
# packages: write
126-
# contents: read
127-
# steps:
128-
# - name: Checkout repository
129-
# uses: actions/checkout@v4
130-
131-
# - name: Setup .NET
132-
# uses: actions/setup-dotnet@v4
133-
# with:
134-
# dotnet-version: |
135-
# 8.0.x
136-
# 9.0.x
122+
publish:
123+
needs: build
124+
runs-on: ubuntu-latest
125+
permissions:
126+
contents: read
127+
packages: write
128+
steps:
129+
- name: Checkout repository
130+
uses: actions/checkout@v4
137131

138-
# - name: .NET Info
139-
# run: dotnet --info
132+
- name: .NET Version
133+
run: dotnet --version
134+
- name: Setup .NET
135+
uses: actions/setup-dotnet@v4
136+
with:
137+
dotnet-version: |
138+
8.0.x
139+
9.0.x
140+
- name: .NET Info
141+
run: dotnet --info
140142

141-
# - name: Restore dependencies
142-
# run: dotnet restore ./Ocelot.Administration.IdentityServer4.sln
143+
- name: Restore dependencies
144+
run: dotnet restore ./Ocelot.Administration.IdentityServer4.sln
143145

144-
# - name: Build project
145-
# run: dotnet build ./src/Ocelot.Testing.csproj --configuration Release --no-restore
146+
- name: Build project
147+
run: dotnet build ./src/Ocelot.Administration.IdentityServer4.csproj --configuration Release --no-restore
146148

147-
# - name: Pack project
148-
# run: dotnet pack ./src/Ocelot.Testing.csproj --configuration Release --output ./packages
149+
- name: Pack project
150+
run: dotnet pack ./src/Ocelot.Administration.IdentityServer4.csproj --configuration Release --output ./packages
149151

150-
# - name: Publish to GitHub Packages
151-
# run: dotnet nuget push ./packages/*.nupkg --source "https://nuget.pkg.github.com/ThreeMammals/index.json" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
152+
- name: Publish to GitHub Packages
153+
run: dotnet nuget push ./packages/*.nupkg --source "https://nuget.pkg.github.com/ThreeMammals/index.json" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
152154

153-
# - name: Publish to NuGet
154-
# run: dotnet nuget push ./packages/*.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_API_KEY_2025 }} --skip-duplicate
155+
- name: Publish to NuGet
156+
run: dotnet nuget push ./packages/*.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_API_KEY_2025 }} --skip-duplicate

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
![Ocelot Icon](/ocelot_icon.png "Ocelot Icon")
2+
![IdSer4 Logo](/identity-server-4_logo.png "Identity Server 4 Logo")
13
# Ocelot.Administration.IdentityServer4
24
[Ocelot](https://www.nuget.org/packages/Ocelot) [Administration](https://ocelot.readthedocs.io/en/latest/features/administration.html) feature with [IdentityServer4](https://www.nuget.org/packages/IdentityServer4) integration

identity-server-4_logo.png

22.9 KB
Loading

ocelot_icon.png

13.3 KB
Loading

src/Ocelot.Administration.IdentityServer4.csproj

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,24 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

8-
<VersionPrefix>24.0</VersionPrefix>
9-
<Version>24.0.0</Version>
10-
<Copyright>Three Mammals</Copyright>
11-
<Product>Ocelot</Product>
8+
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
9+
<IncludeSymbols>True</IncludeSymbols>
10+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
11+
<!--Package properties-->
12+
<Version>24.0.0-beta.1</Version>
13+
<PackageId>Ocelot.Administration.IdentityServer4</PackageId>
14+
<PackageDescription>Provides Ocelot extensions to use the Administration API and IdentityServer4 dependencies that come with it</PackageDescription>
15+
<PackageReleaseNotes>Release notes: [Releases](https://github.com/ThreeMammals/Ocelot.Administration.IdentityServer4/releases)</PackageReleaseNotes>
16+
<PackageTags>API Gateway;.NET;IdentityServer4</PackageTags>
17+
<PackageIcon>ocelot_icon.png</PackageIcon>
18+
<PackageReadmeFile>README.md</PackageReadmeFile>
19+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
20+
<PackageProjectUrl>https://github.com/ThreeMammals/Ocelot</PackageProjectUrl>
21+
<RepositoryUrl>https://github.com/ThreeMammals/Ocelot.Administration.IdentityServer4</RepositoryUrl>
1222
<Authors>Tom Pallister, Raman Maksimchuk</Authors>
23+
<Company>Three Mammals</Company>
24+
<Product>Ocelot Gateway</Product>
25+
<Copyright>© 2025 Three Mammals. MIT licensed OSS</Copyright>
1326

1427
<!--Package 'IdentityServer4' 4.1.2 has a known moderate severity vulnerability-->
1528
<NoWarn>NU1902</NoWarn>
@@ -19,6 +32,12 @@
1932
<GenerateDocumentationFile>True</GenerateDocumentationFile>
2033
</PropertyGroup>
2134

35+
<ItemGroup>
36+
<None Include="..\LICENSE" Pack="True" PackagePath="\" Link=".artifacts\LICENSE" />
37+
<None Include="..\ocelot_icon.png" Pack="True" PackagePath="\" Link=".artifacts\ocelot_icon.png" />
38+
<None Include="..\README.md" Pack="True" PackagePath="\" Link=".artifacts\README.md" />
39+
</ItemGroup>
40+
2241
<ItemGroup>
2342
<PackageReference Include="Ocelot" Version="24.0.0" />
2443
<PackageReference Include="IdentityServer4" Version="4.1.2" />

0 commit comments

Comments
 (0)