nils-braun / b2luigi

Task scheduling and batch running for basf2 jobs made simple
GNU General Public License v3.0
17 stars 11 forks source link

PyPi upload fails with "Could not find username for upload." #93

Open meliache opened 3 years ago

meliache commented 3 years ago

See https://github.com/nils-braun/b2luigi/runs/2448812114?check_suite_focus=true

I wonder if we can somehow test this easily without doing commits to the workflows. Until this is fixed, I'll publish manually again.

nils-braun commented 3 years ago

For testing, there is also the test instance of pipy. Maybe that is something you can try use. In principle, you can also run github actions locally, but honestly, I never had luck with that...

meliache commented 3 years ago

Hey Nils. Tbh. I haven't spent any time yet on trying to fix this, just made the issue so that I can remember this later. I assume it has to do with the secrets in the workflow

          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

I don't have access rights to the repository settings so I can't check them there. According to the github docs collaborators should be able to do that via the rest API, but for that I need an access token which I think I don't have.

Btw, I can understand github not wanting us to abuse actions due to the recent rise of people CI systems for bitcoin mining etc.