From 47335481370e7306b93fac304c44f4e3e7b863a3 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 1 Oct 2024 09:52:10 -0400 Subject: [PATCH] fix: Update pypi-publish.yml We should only be publishing once and not using a matrix strategy for publishing the package. When we try to publish multiple times we create a race condition that causes one of the publishes to fail. --- .github/workflows/pypi-publish.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 05fe980..5d3717e 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -7,19 +7,14 @@ on: jobs: push: - runs-on: ubuntu-latest - - strategy: - matrix: - python-version: [3.11, 3.12] - + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: setup python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: "3.12" - name: Install pip run: pip install -r requirements/pip.txt