Merge pull request #437 from fsprojects/Relax-FSharp.Core-requirement #54
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 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-13] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET for main project build | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
3.1.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/*.nupkg | |
bin/*.snupkg |