Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Port to NET8

Port to NET8 #47

Workflow file for this run

name: Publish to Nuget
on:
push:
branches: [ master ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and test
run: |
dotnet restore
dotnet build --configuration Release --no-restore
dotnet test
- name: Publish EF6
run: |
dotnet pack -c Release src/Unosquare.EntityFramework.Specification.EF6/Unosquare.EntityFramework.Specification.EF6.csproj -o .
dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
rm *.nupkg
- name: Publish EFCore
run: |
dotnet pack -c Release src/Unosquare.EntityFramework.Specification.EFCore/Unosquare.EntityFramework.Specification.EFCore.csproj -o .
dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
rm *.nupkg