From 96c40481c0e249a6f79c37b95c9a6b407b2afcd5 Mon Sep 17 00:00:00 2001
From: Andy Pack <andy@sarsoo.xyz>
Date: Tue, 18 Feb 2025 18:50:31 +0000
Subject: [PATCH] fixing publish indentation

---
 .github/workflows/build.yml | 48 ++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

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