-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Added build GitHub actions (#460)
* Added Build GitHub Action * Also perform this on PR * Revert "Also perform this on PR" This reverts commit 1365b0d.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
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
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 |