Skip to content
Open
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
10 changes: 5 additions & 5 deletions source/guides/github-actions-ci-cd-sample/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.x"
- name: Install pypa/build
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: python-package-distributions
path: dist/

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zizmor: warning[excessive-permissions]: overly broad permissions

Expand All @@ -44,7 +44,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v6
uses: actions/download-artifact@v8
with:
name: python-package-distributions
path: dist/
Expand All @@ -66,7 +66,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v6
uses: actions/download-artifact@v8
with:
name: python-package-distributions
path: dist/
Expand Down