Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Args passing to runner incorrectly #227

Open
npapapietro opened this issue Nov 10, 2023 · 1 comment
Open

Args passing to runner incorrectly #227

npapapietro opened this issue Nov 10, 2023 · 1 comment

Comments

@npapapietro
Copy link

I'm attempting to run a testpypi in my CI with the following workflow job step:

    - name: Publish to PyPI
      uses: PyO3/maturin-action@v1
      env:
        MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN_TEST }}
      with:
        command: upload
        args: "-r testpypi --skip-existing dist/*"

And the job runs via

/home/runner/work/_temp/01b59811-e59d-4b85-a41e-ca41aefcbc6d/maturin upload --repository --skip-existing ...

Where the arg for -r/--repository is removed. I've used the environment var MATURIN_REPOSITORY to work around for now.

Here is the job that attempted to run https://github.com/npapapietro/liesym/actions/runs/6828779586/job/18573598558 if you'd like to further inspect

@ojii
Copy link

ojii commented Jan 19, 2024

Had the same issue with --repository-url ..., but was able to work around this issue by using --repository-url=...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants