Skip to content

Use SLNX and fix NuGet publish workflow #8

Use SLNX and fix NuGet publish workflow

Use SLNX and fix NuGet publish workflow #8

Workflow file for this run

name: Build
on:
push:
branches:
- master
- main
pull_request:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Restore
run: dotnet restore ColorSampler.slnx
- name: Build
run: dotnet build ColorSampler.slnx -c Release --no-restore
- name: Pack
run: dotnet pack src/ColorSampler/ColorSampler.csproj -c Release --no-build -o artifacts/packages
- name: Upload package artifacts
uses: actions/upload-artifact@v4
with:
name: colorsampler-packages
path: artifacts/packages/*