Skip to content

Version 1.0.0-preview.260115.1 #61

Version 1.0.0-preview.260115.1

Version 1.0.0-preview.260115.1 #61

Workflow file for this run

# This workflow will build a .NET project
name: Build
on:
workflow_dispatch:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- 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 --no-restore
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Publish to NuGet if needed
run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate