Fix Bug in IHR0020 for CRTP (#302) #24
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - '**' | |
| jobs: | |
| release: | |
| permissions: | |
| id-token: write # enable GitHub OIDC token issuance for this job | |
| contents: write # enable github releases | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build -c Release --no-restore | |
| - name: Package | |
| run: dotnet pack -c Release --no-build --property:PackageOutputPath=../../nupkgs | |
| - name: NuGet login (OIDC → temp API key) | |
| uses: NuGet/login@v1 | |
| id: login | |
| with: | |
| user: viceroypenguin | |
| - name: Push to Nuget | |
| run: dotnet nuget push "./nupkgs/*.nupkg" --source "https://api.nuget.org/v3/index.json" --api-key ${{ steps.login.outputs.NUGET_API_KEY }} | |
| - name: Create Release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| generateReleaseNotes: 'true' | |
| makeLatest: 'true' |