Skip to content

Temporarily switch to 8.0.403 dotnet version for build #10344

Temporarily switch to 8.0.403 dotnet version for build

Temporarily switch to 8.0.403 dotnet version for build #10344

Workflow file for this run

name: Build solutions
on:
pull_request:
branches: [master]
push:
branches: [master]
merge_group:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
config: [release, debug]
solution: [Nethermind, EthereumTests, Benchmarks]
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: ${{ matrix.solution == 'EthereumTests' }}
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.403
- name: Cache dotnet packages
id: cache-dotnet
uses: actions/cache@v4
with:
# nuget cache files are stored in `~/.nuget/packages/` on Linux/macOS
path: ~/.nuget/packages/
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
restore-keys: |
${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
- name: Build ${{ matrix.solution }}.sln
run: dotnet build src/Nethermind/${{ matrix.solution }}.sln -c ${{ matrix.config }}