From feef3ff0d39d3c58139529784f8df720371de88e Mon Sep 17 00:00:00 2001 From: Nicholas Devenish Date: Fri, 13 Sep 2024 10:49:39 +0100 Subject: [PATCH] Update upload/download-artifact --- .github/workflows/build_wheels.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 11a471d..9be1866 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -23,7 +23,7 @@ jobs: - name: Build sdist run: pipx run poetry build -f sdist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz name: sdist @@ -37,7 +37,7 @@ jobs: os: [ubuntu-20.04, macos-10.15, windows-2019] steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: sdist path: dist @@ -55,7 +55,7 @@ jobs: CIBW_TEST_COMMAND: pytest --regression {package}/tests CIBW_BEFORE_TEST: pip install pytest dials-data - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl @@ -67,12 +67,12 @@ jobs: # alternatively, to publish when a GitHub Release is created, use the following rule: # if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: sdist path: dist - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: artifact path: dist