From 05686be22adc37c35409f42f5e08a1215b4bf1ef Mon Sep 17 00:00:00 2001 From: Pascal Zimmermann Date: Mon, 16 Oct 2023 20:55:30 +0200 Subject: [PATCH] feat: Update the used GH release Action --- .github/workflows/publish-to-pypi.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index feb1056..7196c03 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -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: >- @@ -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 }} \ No newline at end of file