Skip to content

Commit

Permalink
fix(build): upload unique artifacts with matrix identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
wackywendell committed Nov 7, 2024
1 parent a577b1c commit f3bf13e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,9 @@ jobs:
# if: "startsWith(github.ref, 'refs/tags/')"
uses: actions/upload-artifact@v4
with:
# Ensure we have a different name for every artifact, by using:
# - github.ref to capture the difference between branch and tag push events
# - strategy.job-index is different for every job in the matrix
name: binary-${{ github.ref }}-${{ strategy.job-index }}
# Ensure we have a different name for every artifact, by using the
# matrix components in the artifact name
name: binary-${{ matrix.type }}-${{ matrix.os }}-${{ matrix.python-version }}
path: dist

release:
Expand Down

0 comments on commit f3bf13e

Please sign in to comment.