From 8570b2e940e45355343d4dd8a65e4b772357eb05 Mon Sep 17 00:00:00 2001 From: Christo du Toit Date: Wed, 13 May 2026 15:34:48 +0100 Subject: [PATCH] CODE RUB: Updated script --- .github/workflows/build.yml | 4 ++-- .../Services/ScriptGenerationService.cs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b60cf5d..871201a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,9 +25,9 @@ jobs: runs-on: windows-latest steps: - name: Check Out - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Setup Dot Net Version - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v3 with: dotnet-version: 10.x - name: Restore diff --git a/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs b/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs index bf47ed8..4c35b24 100644 --- a/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs +++ b/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs @@ -5,7 +5,7 @@ using ADotNet.Clients; using ADotNet.Models.Pipelines.GithubPipelines.DotNets; using ADotNet.Models.Pipelines.GithubPipelines.DotNets.Tasks; -using NEL.MESH.Infrastructure.Models.SetupDotNetTaskV4s; +using ADotNet.Models.Pipelines.GithubPipelines.DotNets.Tasks.SetupDotNetTaskV3s; namespace NEL.MESH.Infrastructure.Services { @@ -55,16 +55,16 @@ public void GenerateBuildScript(string branchName, string projectName, string do Steps = new List { - new CheckoutTaskV4 + new CheckoutTaskV3 { Name = "Check Out" }, - new SetupDotNetTaskV4 + new SetupDotNetTaskV3 { Name = "Setup Dot Net Version", - With = new TargetDotNetVersionV4 + With = new TargetDotNetVersionV3 { DotNetVersion = dotNetVersion }