From fd035cfc804dfaf66054fff0681fbddc8373b46d Mon Sep 17 00:00:00 2001 From: Quentin Coumes Date: Fri, 22 Mar 2024 10:59:29 +0100 Subject: [PATCH] ci: Update release action --- .github/workflows/tests_and_publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests_and_publish.yml b/.github/workflows/tests_and_publish.yml index 475fe12..6787c81 100644 --- a/.github/workflows/tests_and_publish.yml +++ b/.github/workflows/tests_and_publish.yml @@ -150,15 +150,16 @@ jobs: - uses: actions/checkout@master - name: Set up Python 3.12 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: '3.12' + run: pip install setuptools - name: Creating Built Distributions run: python setup.py sdist - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.pypi_password }} skip_existing: true