Skip to content

[up] to .NET 8

[up] to .NET 8 #25

Workflow file for this run

name: Build Package
on: push
defaults:
run:
working-directory: src
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Code Checkout
uses: actions/checkout@v4.1.1
- name: Install DotNet
uses: actions/setup-dotnet@v4
- name: Restore Dependencies
run: dotnet restore
- name: Build Package
run: dotnet build --no-restore -c Release
- name: Perform Unit Testing
run: dotnet test --no-build -c Release --verbosity normal
- name: Create Package
run: dotnet pack --no-build -c Release -o ./publish
- name: Create packages artifact
uses: actions/upload-artifact@v2
with:
name: Packages
path: ./src/publish/