Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
und - Added Release build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Nov 25, 2023
1 parent 51f7585 commit 6305172
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build-linux-rel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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 }}

42 changes: 42 additions & 0 deletions .github/workflows/build-macos-rel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build Project (macOS, Release)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: macos-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 }}

42 changes: 42 additions & 0 deletions .github/workflows/build-win-rel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build Project (Windows, Release)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: windows-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 }}

0 comments on commit 6305172

Please sign in to comment.