diff --git a/.github/workflows/base-gp-registrations-mi.yml b/.github/workflows/base-gp-registrations-mi.yml
index effac9a..7dcbc8c 100644
--- a/.github/workflows/base-gp-registrations-mi.yml
+++ b/.github/workflows/base-gp-registrations-mi.yml
@@ -67,16 +67,15 @@ jobs:
         run: terraform validate -no-color
         working-directory: ./stacks/gp-registrations-mi/terraform
 
-      - name: Build Lambdas
-        run: | 
-            ./tasks_github_actions.sh build-lambdas
-
       - name: Set up Python
-        if: github.ref == 'refs/heads/master' && inputs.is_deployment
         uses: actions/setup-python@v5
         with:
           python-version: '3.12'
 
+      - name: Build Lambdas
+        run: | 
+            ./tasks_github_actions.sh build-lambdas
+
       - name: Make virtual environment
         if: github.ref == 'refs/heads/master' && inputs.is_deployment
         run: |