Skip to content

GeneratedIdentifier-v9.0.0-preview.4 - Added support for string identifiers #19

GeneratedIdentifier-v9.0.0-preview.4 - Added support for string identifiers

GeneratedIdentifier-v9.0.0-preview.4 - Added support for string identifiers #19

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
dotnet-quality: preview
- name: Restore dependencies
run: dotnet restore
- name: Pack ExceptionHandling
run: |
dotnet build ./src/LightResults.Extensions.ExceptionHandling/LightResults.Extensions.ExceptionHandling.csproj --configuration Release --no-restore
dotnet pack ./src/LightResults.Extensions.ExceptionHandling/LightResults.Extensions.ExceptionHandling.csproj --configuration Release --no-build --output .
- name: Pack EntityFrameworkCore
run: |
dotnet build ./src/LightResults.Extensions.EntityFrameworkCore/LightResults.Extensions.EntityFrameworkCore.csproj --configuration Release --no-restore
dotnet pack ./src/LightResults.Extensions.EntityFrameworkCore/LightResults.Extensions.EntityFrameworkCore.csproj --configuration Release --no-build --output .
- name: Pack Json
run: |
dotnet build ./src/LightResults.Extensions.Json/LightResults.Extensions.Json.csproj --configuration Release --no-restore
dotnet pack ./src/LightResults.Extensions.Json/LightResults.Extensions.Json.csproj --configuration Release --no-build --output .
- name: Pack Operations
run: |
dotnet build ./src/LightResults.Extensions.Operations/LightResults.Extensions.Operations.csproj --configuration Release --no-restore
dotnet pack ./src/LightResults.Extensions.Operations/LightResults.Extensions.Operations.csproj --configuration Release --no-build --output .
- name: Pack ValueObjects
run: |
dotnet build ./src/LightResults.Extensions.ValueObjects/LightResults.Extensions.ValueObjects.csproj --configuration Release --no-restore
dotnet pack ./src/LightResults.Extensions.ValueObjects/LightResults.Extensions.ValueObjects.csproj --configuration Release --no-build --output .
- name: Pack GeneratedIdentifier
run: |
dotnet build ./src/LightResults.Extensions.GeneratedIdentifier/LightResults.Extensions.GeneratedIdentifier.csproj --configuration Release --no-restore
dotnet pack ./src/LightResults.Extensions.GeneratedIdentifier/LightResults.Extensions.GeneratedIdentifier.csproj --configuration Release --no-build --output .
- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate