Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install pep517
- name: Install pypa/build
run: >-
python -m
pip install
pep517
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
pep517.build
--source
--binary
--out-dir dist/
build
--sdist
--wheel
--outdir dist/
.
# Actually publish to PyPI/TestPyPI
- name: Publish distribution 📦 to Test PyPI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ Then, add the following under the ``build-n-publish`` section:
.. literalinclude:: github-actions-ci-cd-sample/publish-to-test-pypi.yml
:language: yaml
:start-after: runs-on:
:end-before: Install pep517
:end-before: Install pypa/build

This will download your repository into the CI runner and then
install and activate Python 3.7.

And now we can build dists from source. In this example, we'll
use ``pep517`` package, assuming that your project has a
use ``build`` package, assuming that your project has a
``pyproject.toml`` properly set up (see
:pep:`517`/:pep:`518`).

Expand Down