Skip to content

Commit

Permalink
ci: use checkout@v4, setup-python@v5
Browse files Browse the repository at this point in the history
ci: upload using whl arch name, too
  • Loading branch information
williballenthin committed Mar 10, 2024
1 parent 983321e commit aa17715
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
]
target: [x86_64, i686, aarch64, armv7]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: messense/maturin-action@v1
name: build pylancelot for linux (${{ matrix.target }})
env:
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload
with:
name: wheels-linux-${{ matrix.python.version }}
name: wheels-linux-${{ matrix.python.version }}-${{ matrix.target }}
path: target/wheels/*.whl

windows:
Expand All @@ -58,8 +58,8 @@ jobs:
{ version: '3.12' },
]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python.version }}
architecture: ${{ matrix.target }}
Expand All @@ -86,7 +86,7 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload
with:
name: wheels-windows-${{ matrix.python.version }}
name: wheels-windows-${{ matrix.python.version }}-${{ matrix.target }}
path: target/wheels/*.whl

macos:
Expand All @@ -101,8 +101,8 @@ jobs:
{ version: '3.12' },
]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python.version }}
architecture: x64
Expand Down

0 comments on commit aa17715

Please sign in to comment.