Skip to content

ref - Adjusted code for .NET 8.0 #4

ref - Adjusted code for .NET 8.0

ref - Adjusted code for .NET 8.0 #4

name: Build Project (Linux, Release)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build --configuration Release
- name: Testing
run: dotnet test --no-build --configuration Release
notify:
runs-on: ubuntu-latest
needs:
- build
if: ${{ always() }}
steps:
- name: Notify
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.G_TOKEN }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}