Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Guailoudou/OPL-WpfApp
Browse files Browse the repository at this point in the history
  • Loading branch information
Guailoudou committed Nov 14, 2024
2 parents b1c09f0 + dbe0fea commit 30686cd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2

- name: Restore NuGet packages
run: nuget restore "OPL WpfApp.sln"

- name: Build solution
run: msbuild /p:Configuration=Release /p:Platform="Any CPU" "OPL WpfApp.sln"

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: wpf-app
path: |
bin\Release\OPL_WpfApp.exe

0 comments on commit 30686cd

Please sign in to comment.