From 6f1a94e3d4b823b5a83338643845be5769a123b6 Mon Sep 17 00:00:00 2001 From: Caelan Date: Mon, 23 Sep 2024 12:10:38 -0600 Subject: [PATCH] Make sure latest dotnet 6 & 8 installed --- .github/workflows/build.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d654894e..140eeeab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -169,15 +169,17 @@ jobs: VELOPACK_B2_TEST_TOKEN: ${{ secrets.VELOPACK_B2_TEST_TOKEN }} VELOPACK_AZ_TEST_TOKEN: ${{ secrets.VELOPACK_AZ_TEST_TOKEN }} steps: + - name: Setup dotnet + uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 6.0.x + 8.0.x + - name: Print dotnet version + run: dotnet --info - uses: actions/checkout@v4 with: fetch-depth: 0 - # - uses: actions/cache@v4 - # with: - # path: ${{ github.workspace }}/.nuget/packages - # key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - # restore-keys: | - # ${{ runner.os }}-nuget- - name: Install FUSE run: | sudo add-apt-repository universe @@ -241,6 +243,12 @@ jobs: runs-on: ubuntu-latest needs: [build-rust-windows, build-rust-linux, build-mac-universal] steps: + - name: Setup dotnet + uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 6.0.x + 8.0.x - name: Print dotnet version run: dotnet --info - uses: actions/checkout@v4