Skip to content

Commit

Permalink
feat: Update the used GH release Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ZPascal committed Oct 16, 2023
1 parent aaf0b48 commit 05686be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:

steps:
- name: Checkout the repository and the branch
uses: actions/checkout@v2
uses: actions/checkout@v3.5.3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'

- name: Install the requirements
run: pip install -r requirements.txt
run: pip install -r requirements.txt && pip install mkdocs mkdocs-material

- name: Install pypa/build
run: >-
Expand All @@ -51,6 +51,6 @@ jobs:

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

0 comments on commit 05686be

Please sign in to comment.