Skip to content

Fixed bad overload. Bind should not take in a Func<Result> (#220) #102

Fixed bad overload. Bind should not take in a Func<Result> (#220)

Fixed bad overload. Bind should not take in a Func<Result> (#220) #102

name: Publish Ardalis.Result to Nuget.org
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish Ardalis.Result to NuGet
run: |
rm -rf nuget/
dotnet pack --no-build src/Ardalis.Result/Ardalis.Result.csproj --configuration Release --output nuget
dotnet nuget push nuget/*.nupkg -k '${{ secrets.NUGET_API_KEY }}' --skip-duplicate -s https://api.nuget.org/v3/index.json