Skip to content

Commit 375c72d

Browse files
committed
ci: use fixed pupi-publish action version and update others.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
1 parent c1bf7c0 commit 375c72d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/pypi-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ jobs:
99
build-and-publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Set up Python
14-
uses: actions/setup-python@v1
14+
uses: actions/setup-python@v3
1515
with:
16-
python-version: "3.x"
16+
python-version: "3.10"
17+
cache: 'pip'
1718
- name: Install build dependencies
1819
run: pip install -U setuptools wheel build
1920
- name: Build
2021
run: python -m build .
2122
- name: Publish
22-
uses: pypa/gh-action-pypi-publish@master
23+
uses: pypa/gh-action-pypi-publish@release/v1
2324
with:
2425
password: ${{ secrets.pypi_password }}
2526
- name: Install GitPython and cloudevents for pypi_packaging

0 commit comments

Comments
 (0)