This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
und - Updated issue and PR templates #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: nmr-build | |
path: "Namer/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 }} | |