This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
fds #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow defines a build and test process for your .NET project | |
name: Build and test | |
# Triggers the workflow on pushes to the main branch | |
on: | |
push: | |
branches: [ main ] | |
# Jobs section defines the execution environment for the steps | |
jobs: | |
build: | |
runs-on: windows-latest # This workflow will run on a Windows machine | |
steps: | |
- uses: actions/checkout@v4.1.2 | |
# Setup .NET environment | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2.0.0 | |
with: | |
vs-version: '[16.10.1,16.10.4)' | |
msbuild-architecture: x64 | |
vswhere-path: 'C:\Program Files\Microsoft Visual Studio\Installer' | |
- name: Build the solution | |
run: msbuild /p:Configuration=Release M-Centres_2.0.sln |