Skip to content
git-pull-request

GitHub Action

checkout-python-sdist

v2.0.0 Latest version

checkout-python-sdist

git-pull-request

checkout-python-sdist

GitHub Action for unpacking the source out of a source Python package distribution tarball

Installation

Copy and paste the following snippet into your .yml file.

              

- name: checkout-python-sdist

uses: re-actors/[email protected]

Learn more about this action in re-actors/checkout-python-sdist

Choose a version

re-actors/checkout-python-sdist@release/v2

A GitHub Action to unpack a source distribution package (tarball / .tar.gz) into the current workspace.

Options

This action only has two inputs — source-tarball-name (default: *.tar.gz) and workflow-artifact-name (default: python-package-distributions). It downloads the latter and works with the sdist matching the former glob to make its contents available in the current working directory.

Any users?

At the moment, it is used by @aio-libs, @CherryPy, pip-api, some Ansible projects, with more to come.

License

The contents of this project is released under the BSD 3-clause license.