Skip to content

Upload NuGet package as a build artifact. #108

Upload NuGet package as a build artifact.

Upload NuGet package as a build artifact. #108

Workflow file for this run

name: Build
on:
push:
branches:
- 'master'
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
jobs:
build:
runs-on: 'windows-latest'
steps:
- uses: actions/checkout@v4
- name: Set up .NET
uses: actions/setup-dotnet@v3
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Pack
run: dotnet pack --configuration Release --no-build
- name: Upload Package
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}.nupkg
path: 'src/AdoNet.Specification.Tests/**/*.nupkg'