Skip to content

Commit

Permalink
Fix upload-artifact, download-artifact workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ijl committed Mar 27, 2024
1 parent 11c7de8 commit 79202e3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
uses: actions/upload-artifact@v4
with:
name: wheels
name: orjson_sdist
path: dist
overwrite: true
retention-days: 1

manylinux_2_17_amd64:
Expand Down Expand Up @@ -104,8 +105,9 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
uses: actions/upload-artifact@v4
with:
name: wheels
name: orjson_manylinux_2_17_amd64_${{ matrix.python.version }}
path: dist
overwrite: true
retention-days: 1

musllinux_1_2:
Expand Down Expand Up @@ -178,8 +180,9 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
uses: actions/upload-artifact@v4
with:
name: wheels
name: orjson_musllinux_1_2_${{ matrix.platform.arch }}_${{ matrix.python.version }}
path: dist
overwrite: true
retention-days: 1

manylinux_2_17_non_amd64:
Expand Down Expand Up @@ -273,8 +276,9 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
uses: actions/upload-artifact@v4
with:
name: wheels
name: orjson_manylinux_2_17_${{ matrix.target.arch }}_${{ matrix.python.version }}
path: dist
overwrite: true
retention-days: 1

pypi:
Expand All @@ -285,7 +289,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: wheels
pattern: orjson_*
merge-multiple: true
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand Down

0 comments on commit 79202e3

Please sign in to comment.