Skip to content

Commit 05686be

Browse files
committed
feat: Update the used GH release Action
1 parent aaf0b48 commit 05686be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414

1515
steps:
1616
- name: Checkout the repository and the branch
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3.5.3
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
architecture: x64
2424
cache: 'pip'
2525

2626
- name: Install the requirements
27-
run: pip install -r requirements.txt
27+
run: pip install -r requirements.txt && pip install mkdocs mkdocs-material
2828

2929
- name: Install pypa/build
3030
run: >-
@@ -51,6 +51,6 @@ jobs:
5151

5252
- name: Publish distribution package to PyPI
5353
if: startsWith(github.ref, 'refs/tags')
54-
uses: pypa/gh-action-pypi-publish@master
54+
uses: pypa/gh-action-pypi-publish@release/v1
5555
with:
5656
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)