Skip to content

Commit

Permalink
chore: Added build GitHub actions (#460)
Browse files Browse the repository at this point in the history
* Added Build GitHub Action

* Also perform this on PR

* Revert "Also perform this on PR"

This reverts commit 1365b0d.
  • Loading branch information
Metious committed Sep 5, 2023
1 parent 20084f4 commit 16a09d2
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build

on:
push:
branches-ignore:
- docs

jobs:
SN1:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: .NET Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x

- name: Nuget Setup
uses: nuget/setup-nuget@v1

- name: Nuget Restore
run: nuget restore Nautilus.sln

- name: Build Project
run: dotnet build Nautilus.sln -c SN.STABLE
BZ:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: .NET Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x

- name: Nuget Setup
uses: nuget/setup-nuget@v1

- name: Nuget Restore
run: nuget restore Nautilus.sln

- name: Build Project
run: dotnet build Nautilus.sln -c BZ.STABLE

0 comments on commit 16a09d2

Please sign in to comment.