Skip to content

Commit

Permalink
Create dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasGugler authored Jun 3, 2024
1 parent 6a6f77c commit 4897eef
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: .NET Build

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

jobs:

build:

runs-on: ubuntu-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

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

# Execute all unit tests in the solution
- name: .NET build and publish
run: |
dotnet restore
dotnet build -c Release
dotnet test -c Release
dotnet publish -c Release -o /dist

0 comments on commit 4897eef

Please sign in to comment.