diff --git a/.github/workflows/todo-sample.cd.yml b/.github/workflows/todo-sample.cd.yml
index 8daf6e49c3..9cddd65e84 100644
--- a/.github/workflows/todo-sample.cd.yml
+++ b/.github/workflows/todo-sample.cd.yml
@@ -23,6 +23,10 @@ jobs:
     
     - name: Checkout source code
       uses: actions/checkout@v4
+      
+    - name: Remove .NET 9 based global.json
+      run: |
+        rm src/global.json
     
     - name: Setup .NET
       uses: actions/setup-dotnet@v4
@@ -117,16 +121,15 @@ jobs:
      
     - name: Checkout source code
       uses: actions/checkout@v4
+      
+    - name: Remove .NET 9 based global.json
+      run: |
+        rm src/global.json
 
     - name: Setup .NET
       uses: actions/setup-dotnet@v4
       with:
         global-json-file: src\Templates\Boilerplate\Bit.Boilerplate\global8.json
-        
-    - name: Setup .NET
-      uses: actions/setup-dotnet@v4
-      with:
-        global-json-file: src/global.json
 
     - uses: actions/setup-node@v4
       with:
@@ -198,16 +201,15 @@ jobs:
     - name: Checkout source code
       uses: actions/checkout@v4
      
+    - name: Remove .NET 9 based global.json
+      run: |
+        rm src/global.json
+     
     - name: Setup .NET
       uses: actions/setup-dotnet@v4
       with:
         global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global8.json
-        
-    - name: Setup .NET
-      uses: actions/setup-dotnet@v4
-      with:
-        global-json-file: src/global.json
-
+       
     - uses: actions/setup-node@v4
       with:
         node-version: 20
@@ -287,16 +289,15 @@ jobs:
     - name: Checkout source code
       uses: actions/checkout@v4
      
+    - name: Remove .NET 9 based global.json
+      run: |
+        rm src/global.json
+     
     - name: Setup .NET
       uses: actions/setup-dotnet@v4
       with:
         global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global8.json
-        
-    - name: Setup .NET
-      uses: actions/setup-dotnet@v4
-      with:
-        global-json-file: src/global.json
-
+       
     - uses: actions/setup-node@v4
       with:
         node-version: 20