Skip to content

Add tests for all similar cases of ThrowIfFail #89

Add tests for all similar cases of ThrowIfFail

Add tests for all similar cases of ThrowIfFail #89

Workflow file for this run

name: nuget
on:
push:
branches: [ main ]
jobs:
nuget-pack:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release
- name: Pack
run: dotnet pack --configuration Release -p:IncludeSymbols=false -p:SymbolPackageFormat=snupkg -o "packages"
- name: Push
run: dotnet nuget push "packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate