Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

imp - Update actions/checkout to v3 #22

imp - Update actions/checkout to v3

imp - Update actions/checkout to v3 #22

Workflow file for this run

name: Build Project (Linux)
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 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
run: dotnet test --configuration Debug
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: grilo-build
path: "GRILO/bin/Debug/"
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 }}