Skip to content

Commit

Permalink
fix: Update deploy workflow to account for matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
r-leyshon committed Jul 4, 2024
1 parent c425e71 commit 33399d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # sha for 4.1.7
- name: Set up Python 3.11
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # sha for 5.1.0
with:
python-version: 3.11
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Store the distribution
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # sha for v4.3.3
with:
name: python-package-distributions
name: python-package-distributions-${{ matrix.runs-on }} # upload artifact v4 - artifacts are immutable, see https://github.com/actions/download-artifact/blob/main/docs/MIGRATION.md
path: ./dist/*

publish-to-pypi:
Expand All @@ -62,8 +62,8 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: python-package-distributions
path: dist/
pattern: python-package-distributions-${{ matrix.runs-on }}
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0

Expand Down

0 comments on commit 33399d7

Please sign in to comment.