From 6ebf4e6ca51f61d5e76d5c0c2ee189f8c3f50842 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Mon, 10 Jun 2024 21:35:29 +0200 Subject: [PATCH] make sure all artifacts are available for upload --- .github/workflows/cibuildwheel.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 9e30ca9f5..136c80c5b 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -38,9 +38,10 @@ jobs: pip install build && python -m build --sdist . --outdir dist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - path: dist/*.tar.gz + name: pypi-artifacts + path: ${{ github.workspace }}/dist/*.tar.gz build_bdist: @@ -86,7 +87,7 @@ jobs: python -c "import netCDF4; print(f'netCDF4 v{netCDF4.__version__}')" && cd {project}/test && python run_all.py - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: pypi-artifacts path: ${{ github.workspace }}/wheelhouse/*.whl @@ -139,7 +140,7 @@ jobs: python -c "import netCDF4; print(f'netCDF4 v{netCDF4.__version__}')" && pytest -s -rxs -v {project}\\test - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: pypi-artifacts path: ${{ github.workspace }}/wheelhouse/*.whl