Skip to content

Commit

Permalink
Use different artifact names for each job
Browse files Browse the repository at this point in the history
  • Loading branch information
hohav committed Jul 8, 2024
1 parent 082f97e commit 2a856c8
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
target: [arm64]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -30,7 +33,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ github.job }}-${{ matrix.target }}
path: dist

windows:
Expand All @@ -57,7 +60,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ github.job }}-${{ matrix.target }}
path: dist

linux:
Expand Down Expand Up @@ -85,7 +88,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ github.job }}-${{ matrix.target }}
path: dist

linux-cross:
Expand Down Expand Up @@ -121,7 +124,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ github.job }}-${{ matrix.target }}
path: dist

musllinux:
Expand Down Expand Up @@ -157,7 +160,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ github.job }}-${{ matrix.target }}
path: dist

musllinux-cross:
Expand Down Expand Up @@ -195,5 +198,5 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ github.job }}-${{ matrix.target }}
path: dist

0 comments on commit 2a856c8

Please sign in to comment.