diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b16e740..a87a430 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -266,31 +266,31 @@ jobs:
           command: publish
           args: --package finlib
 
-    publishPy:
-      runs-on: ubuntu-latest
-      name: Publish Python Library
-      needs: [ buildPy ] # for ignoring bad builds
-      if: github.event_name == 'push' && github.ref == 'refs/heads/master'
-      steps:
-        - name: Checkout
-          uses: actions/checkout@v4
+  publishPy:
+    runs-on: ubuntu-latest
+    name: Publish Python Library
+    needs: [ buildPy ] # for ignoring bad builds
+    if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v4
 
-        - name: Install Rust
-          uses: actions-rs/toolchain@v1
-          with:
-            toolchain: stable
+      - name: Install Rust
+        uses: actions-rs/toolchain@v1
+        with:
+          toolchain: stable
 
-        - name: Install Python 3
-          uses: actions/setup-python@v4
-          with:
-            python-version: ${{ env.python-version }}
+      - name: Install Python 3
+        uses: actions/setup-python@v4
+        with:
+          python-version: ${{ env.python-version }}
 
-        - name: Install Maturin
-          working-directory: ./pyfinlib
-          run: python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt
+      - name: Install Maturin
+        working-directory: ./pyfinlib
+        run: python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt
 
-        - name: Publish
-          working-directory: ./pyfinlib
-          run: source .venv/bin/activate && maturin publish
-          env:
-            MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
\ No newline at end of file
+      - name: Publish
+        working-directory: ./pyfinlib
+        run: source .venv/bin/activate && maturin publish
+        env:
+          MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
\ No newline at end of file