Skip to content

Initial commit

Initial commit #3

Workflow file for this run

name: Main
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Build
run: dotnet build --configuration Release
- name: Run tests
run: dotnet test
- name: Generate NuGet
run: |
cd src/
dotnet pack -o package /p:Version=$(date "+%-Y.%-m.%-d")
- uses: actions/[email protected]
with:
name: nugets
path: src/package/*.nupkg