Files
csharp/.github/workflows/draft.yaml
Boshi Lian f7e7613d09 generate api v1.32 (#1603)
* generate based on v1.32

* bump ver

* Delete swagger.json.unprocessed

* Update target frameworks and SDK versions in project files

* Remove extra API endpoint from swagger.json

* Update .NET SDK version to 9.0.x and adjust package references

* happy build

* Enhance certificate handling for .NET 9.0 compatibility in CertUtils and KubernetesClientConfiguration

* Add mapping for V1beta1ResourceClaim to V1ResourceClaim in AutoMapper configurations

* Refactor certificate loading to improve compatibility with .NET 9.0

* Update package versions in Directory.Packages.props for improved compatibility and features

* Update Fractions package version to 7.3.0 for improved compatibility
2025-01-07 16:12:29 +01:00

43 lines
806 B
YAML

name: Draft Release
permissions:
contents: write
on:
push:
branches: [ master ]
jobs:
draft:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: dotnet restore
run: dotnet restore --verbosity minimal --configfile nuget.config
- name: dotnet test
run: dotnet test
- uses: dotnet/nbgv@master
with:
setAllVars: true
- name: create release
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create -d --generate-notes v$env:NBGV_NuGetPackageVersion