Skip to content

Commit

Permalink
Update dotnetcore.yml
Browse files Browse the repository at this point in the history
- compatibility with .NET 8
  • Loading branch information
ThatChocolateGuy authored May 26, 2024
1 parent 005f6d4 commit 884a06c
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
name: .NET Core
# 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
- 'develop'
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 2.2.108
- name: Build with dotnet
run: dotnet build --configuration Release
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit 884a06c

Please sign in to comment.