Merge pull request #2739 from 0x53A/msbuild/trailing-garbage #342
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: FAKE Build and Test | |
on: | |
[push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.101' | |
- name: Restore dotnet tools | |
run: dotnet tool restore | |
- name: remove current fake runner tool | |
run: dotnet tool uninstall fake-cli | |
- name: Build fake runner | |
run: dotnet pack --version-suffix 1 src/app/fake-cli/fake-cli.fsproj | |
- name: add fake runner as a tool | |
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --version 1.0.0-1 | |
- name: Build | |
run: dotnet fake build --parallel 3 | |
- name: publish build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: fake-artifacts | |
path: release/artifacts |