From 4c2fc4cc1ea1ee0a0e0abbe44bc22e1e77f9aa3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Denuzi=C3=A8re?= Date: Thu, 2 Nov 2023 22:28:07 +0100 Subject: [PATCH] Update .NET version in GitLab actions --- .github/workflows/build.yml | 8 +++++--- .github/workflows/publish.yml | 2 +- global.json | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f24ba446..66644dc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.100-preview.7.23376.3' + dotnet-version: '8.0.100-rc.2.23502.2' - name: NuGet cache uses: actions/cache@v1 @@ -32,6 +32,8 @@ jobs: if echo "${{github.ref}}" | grep -q "^refs/heads/"; then git checkout "$(echo ${{github.ref}} | sed -E 's|^refs/heads/||')"; fi + # Bad data in tool resolver cache can cause tools to not be found + rm -rf ~/.dotnet/toolResolverCache # Ensure that the selenium chrome driver matches the installed chrome ./build.ps1 -t update-chromedriver # Build @@ -59,7 +61,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.100-preview.7.23376.3' + dotnet-version: '8.0.100-rc.2.23502.2' - name: Download nupkg uses: actions/download-artifact@v1 @@ -83,7 +85,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.100-preview.7.23376.3' + dotnet-version: '8.0.100-rc.2.23502.2' - name: Prepare run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a87d647b..323ed366 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '7.0.100' + dotnet-version: '8.0.100-rc.2.23502.2' - name: Download nupkg uses: dawidd6/action-download-artifact@v2 diff --git a/global.json b/global.json index c44660e0..f8044b4f 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,7 @@ { "sdk": { - "version": "8.0.100-preview.7.23376.3", - "rollForward": "latestFeature" + "version": "8.0.100-rc.2.23502.2", + "rollForward": "feature", + "allowPrerelease": true } }