diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0f1bc9b8a..6d5fac6b6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,6 +18,12 @@ jobs: with: fetch-depth: 0 # fetch-depth is needed for GitVersion + - name: Setup .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.x + dotnet-quality: 'ga' + - name: Install GitVersion uses: gittools/actions/gitversion/setup@v3.1.11 with: @@ -30,12 +36,6 @@ jobs: updateAssemblyInfo: true id: gitversion # step id used as reference for output values - - name: Setup dotnet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0 - dotnet-quality: 'ga' - - name: Install dependencies run: dotnet restore