Skip to content

Commit

Permalink
fix: Update pypi-publish.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
feanil authored Oct 1, 2024
1 parent ad2eb13 commit 4733548
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4733548

Please sign in to comment.