Skip to content

Merge pull request #23 from Stensel8/main #3

Merge pull request #23 from Stensel8/main

Merge pull request #23 from Stensel8/main #3

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
name: Build (${{ matrix.platform }})
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
platform: [x64, arm64]
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup .NET
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
with:
dotnet-version: '10.0.x'
- name: Restore dependencies
run: dotnet restore FluentCleaner/FluentCleaner.csproj -p:Platform=${{ matrix.platform }}
- name: Build
run: dotnet build FluentCleaner/FluentCleaner.csproj --configuration Release --no-restore -p:Platform=${{ matrix.platform }}