Skip to content

Commit

Permalink
Merge pull request #4 from alexmmych/alexmmych-patch-1
Browse files Browse the repository at this point in the history
Create main.yml for .NET Framework build test
  • Loading branch information
alexmmych authored Apr 21, 2024
2 parents e997898 + 9dca5b3 commit 0df9672
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build .NET WinForms Application

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2

- name: Setup .NET Framework
uses: actions/setup-dotnet@v1
with:
dotnet-version: '4.8.1' # Or the version of .NET Framework you want to target

- name: Restore NuGet packages
run: nuget restore Optimade.sln

- name: Build
run: msbuild /p:Configuration=Release Optimade.sln

0 comments on commit 0df9672

Please sign in to comment.