From 98147a3e4edfbd65b15e6a70e556dcac1fd335cd Mon Sep 17 00:00:00 2001 From: Christophe Painchaud Date: Fri, 8 Mar 2024 08:50:14 +0100 Subject: [PATCH] pypi action --- .github/workflows/python-publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 3bfabfc12..b09edbd42 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -14,7 +14,6 @@ on: jobs: deploy: - runs-on: ubuntu-latest steps: @@ -22,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.x' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -30,7 +29,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}