Upgrade artifact actions in workflows to v4 (#1711)

This commit is contained in:
Adam Lugowski
2023-12-28 17:24:09 -05:00
committed by GitHub
parent d0a527bfd5
commit 53a38b70b2
2 changed files with 8 additions and 6 deletions
+5 -3
View File
@@ -16,8 +16,9 @@ jobs:
- name: Build SDist and wheel - name: Build SDist and wheel
run: pipx run build run: pipx run build
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: cibw-sdist
path: dist/* path: dist/*
- name: Check metadata - name: Check metadata
@@ -32,9 +33,10 @@ jobs:
id-token: write id-token: write
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: artifact pattern: cibw-*
path: dist path: dist
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1 - uses: pypa/gh-action-pypi-publish@release/v1
+3 -3
View File
@@ -85,10 +85,10 @@ jobs:
env: env:
CIBW_ARCHS_MACOS: x86_64 universal2 arm64 CIBW_ARCHS_MACOS: x86_64 universal2 arm64
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: sample_wheels_action name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: wheelhouse path: wheelhouse/*.whl
- name: Test cibuildwheel - name: Test cibuildwheel
run: | run: |