Skip to content

Commit

Permalink
make sure all artifacts are available for upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jun 10, 2024
1 parent 33eebb9 commit db5b321
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -86,9 +87,9 @@ 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
name: pypi-artifacts-${{ matrix.os }}-${{ matrix.arch }}
path: ${{ github.workspace }}/wheelhouse/*.whl


Expand Down Expand Up @@ -139,9 +140,9 @@ 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
name: pypi-artifacts-${{ matrix.os }}-${{ matrix.arch }}
path: ${{ github.workspace }}/wheelhouse/*.whl


Expand Down

0 comments on commit db5b321

Please # to comment.