From 2b2ea7fd435171f2dbc85f050203bb23e601f6a4 Mon Sep 17 00:00:00 2001 From: Darknet Development Team Date: Thu, 1 Aug 2024 23:00:57 +0000 Subject: [PATCH] Update github actions --- .github/workflows/python-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 580e1ec..6c771a8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install pypa/build @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest environment: name: production - url: https://pypi.org/p/plotcap # Replace with your PyPI project name + url: https://pypi.org/p/plotcap permissions: id-token: write # IMPORTANT: mandatory for trusted publishing @@ -68,7 +68,7 @@ jobs: name: python-package-distributions path: dist/ - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v1.2.3 + uses: sigstore/gh-action-sigstore-python@v2.1.1 with: inputs: >- ./dist/*.tar.gz @@ -94,7 +94,6 @@ jobs: publish-to-testpypi: name: Publish Python 🐍 distribution 📦 to TestPyPI - if: startsWith(github.ref, 'refs/tags/') # only publish to TestPyPI on tag pushes needs: - build runs-on: ubuntu-latest