Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and test

env:
DOTNET_NOLOGO: true

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET for main project build
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
2.2.x
6.0.x
- name: Run fake build script
run: ./build.sh
shell: bash
- name: Save nuget package as artifact
uses: actions/upload-artifact@v3
with:
name: nuget-package
path: bin/*