Skip to content

Use AssemblyVersion for the version #98

Use AssemblyVersion for the version

Use AssemblyVersion for the version #98

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Build
on:
push:
branches:
- "main"
paths-ignore:
- "README.md"
pull_request:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
project: ["./src/Lib", "./src/Pwsh"]
env:
DOTNET_NOLOGO: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Setup dotnet SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: "Lib: Run 'dotnet build'"
if: matrix.project == './src/Lib'
run: |
dotnet build ${{ matrix.project }} --configuration Release --framework net8.0;
dotnet build ${{ matrix.project }} --configuration Release --framework netstandard2.0
- name: "Pwsh: Run 'dotnet build'"
if: matrix.project == './src/Pwsh'
run: |
dotnet build ${{ matrix.project }} --configuration Release --framework netstandard2.0