Skip to content

Commit bc74bc6

Browse files
authored
Upgrade GitHub Actions
Do not encourage visitors to rely on out-of-date GitHub Actions.
1 parent bdc08be commit bc74bc6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

source/guides/github-actions-ci-cd-sample/publish-to-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@v6
11+
- uses: actions/checkout@v7
1212
with:
1313
persist-credentials: false
1414
- name: Set up Python
15-
uses: actions/setup-python@v6
15+
uses: actions/setup-python@v7
1616
with:
1717
python-version: "3.x"
1818
- name: Install pypa/build
@@ -24,7 +24,7 @@ jobs:
2424
- name: Build a binary wheel and a source tarball
2525
run: python3 -m build
2626
- name: Store the distribution packages
27-
uses: actions/upload-artifact@v5
27+
uses: actions/upload-artifact@v7
2828
with:
2929
name: python-package-distributions
3030
path: dist/
@@ -44,7 +44,7 @@ jobs:
4444

4545
steps:
4646
- name: Download all the dists
47-
uses: actions/download-artifact@v6
47+
uses: actions/download-artifact@v8
4848
with:
4949
name: python-package-distributions
5050
path: dist/

0 commit comments

Comments
 (0)