Specify FSharp.Core version 4.5 for net5 builds #44
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| DOTNET_NOLOGO: 1 | |
| PAKET_SKIP_RESTORE_TARGETS: true | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 2 | |
| 5 | |
| - name: Restore packages | |
| run: ./paket.sh restore | |
| - name: Compile build script | |
| run: dotnet build src/BlackFox.MasterOfFoo.Build/BlackFox.MasterOfFoo.Build.fsproj | |
| - name: Build | |
| run: ./build.sh CI | |
| - name: Publish artifacts | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| path: artifacts/BlackFox.MasterOfFoo/Release/*.nupkg | |
| if-no-files-found: error | |
| compression-level: 0 | |
| windows: | |
| runs-on: windows-latest | |
| env: | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| DOTNET_NOLOGO: 1 | |
| PAKET_SKIP_RESTORE_TARGETS: true | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 2 | |
| 5 | |
| - name: Restore packages | |
| run: ./paket.cmd restore | |
| - name: Compile build script | |
| run: dotnet build src/BlackFox.MasterOfFoo.Build/BlackFox.MasterOfFoo.Build.fsproj | |
| - name: Build | |
| run: ./build.cmd CI |