Skip to content

Make README badge a link to NuGet. #28

Make README badge a link to NuGet.

Make README badge a link to NuGet. #28

Workflow file for this run

name: Build
on: [push, pull_request]
env:
DOTNET_NOLOGO: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up .NET 7.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore -p:BuildNumber=${{ github.run_number }}
- name: Test
run: dotnet test --configuration Release --no-build
- name: Pack
run: dotnet pack --configuration Release --no-build
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: NuGet Packages
path: '**/*.nupkg'
if-no-files-found: error