diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41e987244..165cd53f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,12 +41,11 @@ jobs: # Install the .NET SDK indicated in the global.json file - name: ⚙️ Setup dotnet versions - uses: actions/setup-dotnet@v5 + uses: fast-actions/setup-dotnet@v1 with: - dotnet-version: | + aspnetcore-version: | 8.0.x 9.0.x - 10.0.x - name: ⚙️ Setup GIT versioning uses: dotnet/nbgv@v0.4.2 @@ -89,8 +88,11 @@ jobs: runs-on: ubuntu-latest needs: [ create-nuget ] steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 0 # Get all history to allow automatic versioning using MinVer - name: Setup .NET - uses: actions/setup-dotnet@v5 + uses: fast-actions/setup-dotnet@v1 - uses: actions/download-artifact@v7 with: @@ -122,12 +124,11 @@ jobs: fetch-depth: 0 - name: ⚙️ Setup dotnet versions - uses: actions/setup-dotnet@v5 + uses: fast-actions/setup-dotnet@v1 with: - dotnet-version: | + aspnetcore-version: | 8.0.x 9.0.x - 10.0.x - name: ⚙️ Restore packages and tools run: | @@ -156,10 +157,9 @@ jobs: fetch-depth: 0 # Get all history to allow automatic versioning using MinVer - name: ⚙️ Setup dotnet - uses: actions/setup-dotnet@v5 + uses: fast-actions/setup-dotnet@v1 with: - dotnet-version: | - 9.0.x + runtime-version: '9.x' # template requires .NET 9 Runtime - uses: actions/download-artifact@v7 with: @@ -216,12 +216,11 @@ jobs: fetch-depth: 0 - name: ⚙️ Setup dotnet versions - uses: actions/setup-dotnet@v5 + uses: fast-actions/setup-dotnet@v1 with: - dotnet-version: | + aspnetcore-version: | 8.0.x 9.0.x - 10.0.x - name: ⚙️ Setup GIT versioning uses: dotnet/nbgv@v0.4.2 @@ -281,7 +280,7 @@ jobs: path: ${{ env.NUGET_DIRECTORY }} - name: Setup .NET Core - uses: actions/setup-dotnet@v5 + uses: fast-actions/setup-dotnet@v1 - name: 🛠️ NuGet login uses: NuGet/login@v1 diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index ce8f2a843..c3d4b51b5 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -70,12 +70,11 @@ jobs: RELEASE_NOTES: ${{ steps.changelog_reader.outputs.changes }} - name: ⚙️ Setup dotnet versions - uses: actions/setup-dotnet@v5 + uses: fast-actions/setup-dotnet@v1 with: - dotnet-version: | + aspnetcore-version: | 8.0.x 9.0.x - 10.0.x - name: 🎨 Setup color run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 165efa684..18daf37e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,12 +60,7 @@ jobs: setAllVars: true - name: ⚙️ Setup dotnet versions - uses: actions/setup-dotnet@v5 - with: - dotnet-version: | - 8.0.x - 9.0.x - 10.0.x + uses: fast-actions/setup-dotnet@v1 - name: 🛠️ Update changelog uses: thomaseizinger/keep-a-changelog-new-release@3.1.0 diff --git a/global.json b/global.json index 83105ca8e..18562b58c 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { "rollForward": "latestMajor", - "allowPrerelease": true + "allowPrerelease": false } }