Skip to content

Commit

Permalink
Use recommended kebab-case for pypi action.
Browse files Browse the repository at this point in the history
  • Loading branch information
tillahoffmann committed Nov 15, 2024
1 parent 065a193 commit 48bd85e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ jobs:
- name: Upload the package to test pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: ${{ matrix.module }}/dist
repository_url: https://test.pypi.org/legacy/
skip_existing: true
packages-dir: ${{ matrix.module }}/dist
repository-url: https://test.pypi.org/legacy/
skip-existing: true
- name: Upload the package to pypi on `main` only
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'onnela-lab' && matrix.python-version == '3.10'
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: ${{ matrix.module }}/dist
skip_existing: true
packages-dir: ${{ matrix.module }}/dist
skip-existing: true

0 comments on commit 48bd85e

Please sign in to comment.