From 48bd85e34ad7e305230507a6807ca7691724bb1c Mon Sep 17 00:00:00 2001 From: Till Hoffmann Date: Fri, 15 Nov 2024 11:41:23 -0500 Subject: [PATCH] Use recommended kebab-case for pypi action. --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85a9500..c2016f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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