neuroinformatics-unit / actions

Re-usable GitHub Action scripts
MIT License
10 stars 3 forks source link

Make upload_pypi action easier to reuse #40

Closed niksirbi closed 9 months ago

niksirbi commented 9 months ago

Description

What is this PR

Why is this PR needed?

We have an upload_pypi action that no one currently uses. I've updated the action and the docs / example workflow in a way that makes it clear how to pass the PyPI API key from repository secrets to the caller workflow and from there to the reusable upload_pypi action.

How has this PR been tested?

Not yet. After merging this, I will try to use this action from this repository's main branch, and if that succeeds, I will make a new release.

Is this a breaking change?

Not really, because no one was using this action.

Does this PR require an update to the documentation?

The example workflows and the instructions in README have been updated accordingly.

Checklist: