Skip to content

Commit 7a5efaf

Browse files
authored
Use github actions not deprecated (#149)
1 parent 8b13daa commit 7a5efaf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
matrix:
1616
python-version: ["3.8", "3.9", "3.10", "3.11"]
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Initialize environment

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
exit 1
4040
- name: Publish package
4141
if: startsWith(github.ref, 'refs/tags')
42-
uses: pypa/gh-action-pypi-publish@master
42+
uses: pypa/gh-action-pypi-publish@release/v1
4343
with:
44-
skip_existing: true
45-
password: ${{ secrets.PYPI_API_TOKEN }}
44+
skip-existing: true
45+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)