diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 8d0adb7..4a07443 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -22,7 +22,7 @@ jobs: - name: Build a binary wheel and a source tarball run: python3 -m build - name: Store the distribution packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: python-package-distributions path: dist/ @@ -35,7 +35,7 @@ jobs: - build runs-on: ubuntu-latest environment: - name: pypi + name: release url: https://pypi.org/p/extrainterpreters permissions: id-token: write # IMPORTANT: mandatory for trusted publishing @@ -53,6 +53,8 @@ jobs: name: >- Sign the Python 🐍 distribution 📦 with Sigstore and upload them to GitHub Release + environment: + name: release needs: - publish-to-pypi runs-on: ubuntu-latest diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 2755b12..dbab996 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install dependencies