Skip to content

Commit 88ce3aa

Browse files
henryiiiwebknjaz
authored andcommitted
chore: update GHA guide
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 84b97b1 commit 88ce3aa

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

source/guides/github-actions-ci-cd-sample/publish-to-test-pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@master
12-
- name: Set up Python 3.10
13-
uses: actions/setup-python@v3
11+
- uses: actions/checkout@v3
12+
- name: Set up Python
13+
uses: actions/setup-python@v4
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.x"
1616
- name: Install pypa/build
1717
run: >-
1818
python -m

source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ It will use the `pypa/gh-action-pypi-publish GitHub Action`_.
1414

1515
This guide *assumes* that you already have a project that
1616
you know how to build distributions for and *it lives on GitHub*.
17+
This guide also assumes you have a pure Python project. If you
18+
have binary compoents, check out :ref:`cibuildwheel`.
1719

1820
Saving credentials on GitHub
1921
============================
@@ -94,9 +96,7 @@ This will download your repository into the CI runner and then
9496
install and activate Python 3.10.
9597

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

101101
.. tip::
102102

0 commit comments

Comments
 (0)