From 48576257eed9a4b980cc951767218744ea29eb70 Mon Sep 17 00:00:00 2001 From: Leonardo Carreras Date: Mon, 10 Jun 2024 21:36:52 +0200 Subject: [PATCH] Fix option for parallel in make and version of release in publish to pypi Signed-off-by: Leonardo Carreras --- .github/workflows/documentation.yaml | 4 ++-- .github/workflows/publish_to_pypi.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index c394bc076c..a39e6b01d1 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -23,8 +23,8 @@ jobs: - name: Make reference docs run: | - make --parallel $(nproc) -C build docs - make --parallel $(nproc) -C build docs_cxx + make --jobs $(nproc) -C build docs + make --jobs $(nproc) -C build docs_cxx - name: Copy reference run: | diff --git a/.github/workflows/publish_to_pypi.yaml b/.github/workflows/publish_to_pypi.yaml index 3affa9d1fd..86c8fbf1f3 100644 --- a/.github/workflows/publish_to_pypi.yaml +++ b/.github/workflows/publish_to_pypi.yaml @@ -23,7 +23,7 @@ jobs: run: python3 -m build --sdist --outdir dist/ - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1.8.14 + uses: pypa/gh-action-pypi-publish@release/v1.8 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ @@ -31,7 +31,7 @@ jobs: - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@release/v1.8.14 + uses: pypa/gh-action-pypi-publish@release/v1.8 with: password: ${{ secrets.PYPI_API_TOKEN }} @@ -55,7 +55,7 @@ jobs: output-dir: dist - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1.8.14 + uses: pypa/gh-action-pypi-publish@release/v1.8 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ @@ -63,6 +63,6 @@ jobs: - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@release/v1.8.14 + uses: pypa/gh-action-pypi-publish@release/v1.8 with: password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file