From 0c3cd805d60240dcfc318f94aea6402b4cf3f763 Mon Sep 17 00:00:00 2001 From: David GERARD <56201515+David-GERARD@users.noreply.github.com> Date: Thu, 25 Jul 2024 18:10:03 +0100 Subject: [PATCH] Update publish-pypi.yml --- .github/workflows/publish-pypi.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index c25403b..8c8c0b1 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -46,6 +46,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.x" + + - name: Change Package Version in docs/source/conf.py and pyproject.toml + run: | + python update_version.py - name: Build release distributions run: | @@ -105,13 +109,6 @@ jobs: url: https://pypi.org/project/pydtm/ steps: - - - name: Checkout code - uses: actions/checkout@v2 - - - name: Change Package Version in docs/source/conf.py and pyproject.toml - run: | - python update_version.py - name: Retrieve release distributions uses: actions/download-artifact@v4