diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49e7bf2..6c64412 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,10 +12,8 @@ on: jobs: build: name: Build - runs-on: windows-latest + runs-on: ubuntu-latest steps: - - name: Enable long paths for Git - run: git config --system core.longpaths true - name: Check out uses: actions/checkout@v5 - name: Setup .Net diff --git a/NHSDigital.ApiPlatform.Infrastructure/Services/ScriptGenerationService.cs b/NHSDigital.ApiPlatform.Infrastructure/Services/ScriptGenerationService.cs index 7beab6a..6d9ba1d 100644 --- a/NHSDigital.ApiPlatform.Infrastructure/Services/ScriptGenerationService.cs +++ b/NHSDigital.ApiPlatform.Infrastructure/Services/ScriptGenerationService.cs @@ -41,16 +41,10 @@ public void GenerateBuildScript(string branchName, string projectName, string do new Job { Name = "Build", - RunsOn = BuildMachines.WindowsLatest, + RunsOn = BuildMachines.UbuntuLatest, Steps = new List { - new GithubTask - { - Name = "Enable long paths for Git", - Run = "git config --system core.longpaths true" - }, - new CheckoutTaskV5 { Name = "Check out"