Skip to content

Merge pull request #1 from kentico-ericd/dotnet-tool #8

Merge pull request #1 from kentico-ericd/dotnet-tool

Merge pull request #1 from kentico-ericd/dotnet-tool #8

Workflow file for this run

name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
global-json-file: global.json
- name: Restore dependencies
run: dotnet restore
working-directory: src
- name: Build
run: dotnet build --no-restore
working-directory: src
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: NuGet
path: ./**/*.nupkg