Skip to content

24.0.1

24.0.1 #22

Workflow file for this run

name: Publish NuGet Packages
on:
release:
types: [ published ]
jobs:
publish_nuget:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Setup Node 20.x
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '21'
- name: Publish NuGet package
shell: pwsh
run: Build/scripts/rest_api_client.publish.ps1 -version ${{github.ref_name}} -publshFolder Keycloak.RestApiClient.${{github.ref_name}} -nugetUrl https://api.nuget.org/v3/index.json -apiKey ${{ secrets.NUGET_API_KEY }} -openApiJson https://www.keycloak.org/docs-api/latest/rest-api/openapi.json