Updated FAKE and Paket, support building with .NET 8 compiler #30
Workflow file for this run
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 PR | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
dotnet: [5.0.400] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
# Fix for https://github.com/actions/setup-dotnet/issues/29#issuecomment-548740241 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- name: Setup .NET Core 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.425 | |
- name: Setup .NET Core 8 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.400 | |
- name: Build on Windows | |
if: matrix.os == 'windows-latest' | |
run: .\build.cmd | |
- name: Build on Unix | |
if: matrix.os != 'windows-latest' | |
run: ./build.sh |