Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverMorewd authored Jul 31, 2024
1 parent 4c7a732 commit 79d9712
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: .NET

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
Expand All @@ -9,12 +15,14 @@ jobs:
matrix:
os: [windows-2022, ubuntu-22.04, macos-12]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: src/AvaloniaSample
- name: Build
run: dotnet build AvaloniaSample --configuration Release --no-restore
run: dotnet build --configuration Release --no-restore
working-directory: src/AvaloniaSample

0 comments on commit 79d9712

Please sign in to comment.