diff --git a/.github/workflows/GenerateAsyncCode.yml b/.github/workflows/GenerateAsyncCode.yml index 3cc770f2bb..a4a988beb7 100644 --- a/.github/workflows/GenerateAsyncCode.yml +++ b/.github/workflows/GenerateAsyncCode.yml @@ -21,7 +21,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + global-json-file: global.json - name: Generate Async code run: | diff --git a/.github/workflows/NetCoreTests.yml b/.github/workflows/NetCoreTests.yml index 5440cd919d..734829cc4a 100644 --- a/.github/workflows/NetCoreTests.yml +++ b/.github/workflows/NetCoreTests.yml @@ -63,16 +63,16 @@ jobs: - name: Set up ${{matrix.DB}} run: ${{matrix.DB_INIT}} - - name: Set up .NET - uses: actions/setup-dotnet@v5 - with: - dotnet-version: 8.0.x - - name: Checkout uses: actions/checkout@v5 with: show-progress: false + - name: Set up .NET + uses: actions/setup-dotnet@v5 + with: + global-json-file: global.json + - name: Build and Test run: | pwsh -noprofile -command "& ./build.ps1 -TaskList Set-Configuration,Test -properties @{'Database' = '${{matrix.DB}}';'ConnectionString'='${{matrix.CONNECTION_STRING}}'}"