Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0f25b05

Browse files
committedSep 23, 2024·
Build with .NET 8.0:
Change global.json .NET 6 to 8 Search and replace targetframeworks from fsproj files to add net8.0 Add net8.0 to paket.dependencies dotnet paket install to find .NET8 compatible dependencies Expecto had to be hardcoded for now, because some tests are running on netstandard2.0 library (hopefully we can update this separately later) MSBuild.StructuredLogger problem: DisableInternalBinLog = true had to be added to build.fsx NuGet commands (hopefully we can update this separately later) A few places of code had new overrides so had to explicitly type to strings SdkAssemblyResolver to default .NET 8 as well Readme update GitHub pipeline configs: Add .NET 8 install.
1 parent 4d0bf7d commit 0f25b05

File tree

116 files changed

+21207
-7087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+21207
-7087
lines changed
 

‎.github/workflows/build_and_test.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,18 @@ jobs:
1616
uses: actions/setup-dotnet@v4
1717
with:
1818
dotnet-version: '6.0.301'
19+
- name: Setup .NET 8
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: '8.0.304'
1923
- name: Restore dotnet tools
2024
run: dotnet tool restore
2125
- name: remove current fake runner tool
2226
run: dotnet tool uninstall fake-cli
2327
- name: Build fake runner
2428
run: dotnet pack --version-suffix 1 src/app/fake-cli/fake-cli.fsproj
2529
- name: add fake runner as a tool
26-
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --version 1.0.0-1
30+
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --add-source "./src/app/fake-cli/bin/Release" --version 1.0.0-1
2731
- name: Build
2832
run: dotnet fake -v build --parallel 3 -e FAKE_DETAILED_ERRORS=true
2933
- name: publish build artifacts

‎.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,18 @@ jobs:
2020
uses: actions/setup-dotnet@v4
2121
with:
2222
dotnet-version: '6.0.301'
23+
- name: Setup .NET 8
24+
uses: actions/setup-dotnet@v4
25+
with:
26+
dotnet-version: '8.0.304'
2327
- name: Restore dotnet tools
2428
run: dotnet tool restore
2529
- name: remove current fake runner tool
2630
run: dotnet tool uninstall fake-cli
2731
- name: Build fake runner
2832
run: dotnet pack -p:PackageVersion=${{ github.event.inputs.releaseVersion }} src/app/fake-cli/fake-cli.fsproj
2933
- name: add fake runner as a tool
30-
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --version ${{ github.event.inputs.releaseVersion }}
34+
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --add-source "./src/app/fake-cli/bin/Release" --version ${{ github.event.inputs.releaseVersion }}
3135
- name: Build
3236
run: dotnet fake build -t Release_BuildAndTest --parallel 3
3337
- name: publish build artifacts

0 commit comments

Comments
 (0)
Please sign in to comment.