Skip to content

Build

Build #18

Workflow file for this run

name: Build
on:
push:
pull_request:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
env:
Solution_Name: Acrolinx.Net.Demo.sln
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Restore the application
run: dotnet restore $env:Solution_Name
- name: Build Demo
shell: powershell
run: dotnet build $env:Solution_Name --configuration Release -p:Platform="Any CPU"