Skip to content

Merge pull request #12 from sgrottel/bugfix-code-analyzer #23

Merge pull request #12 from sgrottel/bugfix-code-analyzer

Merge pull request #12 from sgrottel/bugfix-code-analyzer #23

Workflow file for this run

name: MacOS
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
fail-fast: false
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Install dependencies
run: dotnet restore ./FindExecutable.sln
- name: Build
run: dotnet build --configuration ${{ matrix.configuration }} --no-restore ./FindExecutable.csproj
- name: Run Test
shell: pwsh
run: |
cd ((([object[]](gci .\bin\${{matrix.configuration}}\))[-1]).FullName)
dotnet ./FindExecutable.dll