Skip to content

Commit

Permalink
Updated actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 15, 2023
1 parent c81beb5 commit 26ab078
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,22 @@ jobs:
os: macos-latest
archs: x86_64
macosx_deployment_target: "10.10"
artifact_name: "macOS_x86_64"
- name: "macOS arm64"
os: macos-latest
archs: arm64
macosx_deployment_target: "11.0"
artifact_name: "macOS_arm64"
- name: "manylinux2014 and musllinux x86_64"
os: ubuntu-latest
archs: x86_64
artifact_name: "manylinux2014_musllinux"
- name: "manylinux_2_28 x86_64"
os: ubuntu-latest
archs: x86_64
build: "*manylinux*"
manylinux: "manylinux_2_28"
artifact_name: "manylinux_2_28"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -75,9 +79,9 @@ jobs:
CIBW_TEST_SKIP: "*-macosx_arm64"
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macosx_deployment_target }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
name: ${{ matrix.artifact_name }}
path: ./wheelhouse/*.whl

windows:
Expand All @@ -89,10 +93,13 @@ jobs:
include:
- arch: x86
cibw_arch: x86
artifact_suffix: "x86"
- arch: x64
cibw_arch: AMD64
artifact_suffix: "x64"
- arch: ARM64
cibw_arch: ARM64
artifact_suffix: "arm64"
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -157,9 +164,9 @@ jobs:
shell: cmd

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
name: windows_${{ matrix.artifact_suffix }}
path: ./wheelhouse/*.whl

- name: Prepare to upload FriBiDi
Expand All @@ -171,9 +178,9 @@ jobs:

- name: Upload fribidi.dll
if: "matrix.arch != 'ARM64'"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fribidi
name: fribidi_${{ matrix.artifact_suffix }}
path: fribidi\*

sdist:
Expand All @@ -190,9 +197,9 @@ jobs:

- run: make sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
name: sdist
path: dist/*.tar.gz

pypi-publish:
Expand Down

0 comments on commit 26ab078

Please sign in to comment.