Skip to content

Commit

Permalink
Fix option for parallel in make and version of release in publish to …
Browse files Browse the repository at this point in the history
…pypi

Signed-off-by: Leonardo Carreras <[email protected]>
  • Loading branch information
leonardocarreras committed Jun 10, 2024
1 parent a95d999 commit 4857625
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ 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/
skip_existing: true

- 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 }}

Expand All @@ -55,14 +55,14 @@ 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/
skip_existing: true

- 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 }}

0 comments on commit 4857625

Please sign in to comment.