diff --git a/.github/workflows/net60-aspnetcore.yml b/.github/workflows/net60-aspnetcore.yml index f4e7b71..516c041 100644 --- a/.github/workflows/net60-aspnetcore.yml +++ b/.github/workflows/net60-aspnetcore.yml @@ -8,7 +8,6 @@ on: workflow_dispatch: env: - DOTNET_VERSION: '6.0.x' SOURCE_CODE_PATH: 'razorpageapp/razorpageapp.csproj' BUILD_CONFIGURATION: Release @@ -31,7 +30,7 @@ jobs: id: setup uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + global-json-file: dotnet/global.json - run: echo '${{ steps.setup.outputs.dotnet-version }}'