Skip to content

Commit

Permalink
Bump all upload-artifact to v4 and distinguish between "shared" and "…
Browse files Browse the repository at this point in the history
…separete" uploads
  • Loading branch information
gadial committed Jan 15, 2025
1 parent def4f4f commit d9d7fb7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: aer-deploy-wheel-build-${{ matrix.os }}
name: aer-deploy-shared-wheel-build-${{ matrix.os }}
build_wheels_aarch64:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: aer-deploy-build_wheels_aarch64-${{ matrix.os }}
name: aer-deploy-separate-build_wheels_aarch64-${{ matrix.os }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -85,10 +85,10 @@ jobs:
env:
CIBW_ARCHS_MACOS: arm64
run: cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: aer-deploy-wheel-arm64-macos-${{ matrix.os }}
name: aer-deploy-shared-wheel-arm64-macos-${{ matrix.os }}
sdist:
name: Publish qiskit-aer sdist
runs-on: ubuntu-latest
Expand All @@ -111,7 +111,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./dist/qiskit*
name: aer-deploy-sdist-${{ matrix.os }}
name: aer-deploy-separate-sdist-${{ matrix.os }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down Expand Up @@ -153,10 +153,10 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --exclude libcudart.so.11.0 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusparse.so.11 --exclude libcublas.so.11 --exclude libcublasLt.so.11 -w {dest_dir} {wheel}'
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: aer-deploy-gpu-build-cuda11-${{ matrix.os }}
name: aer-deploy-separate-gpu-build-cuda11-${{ matrix.os }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down Expand Up @@ -198,10 +198,10 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --exclude libcudart.so.12 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusolver.so.12 --exclude libcusolverMg.so.12 --exclude libcusparse.so.12 --exclude libcublas.so.12 --exclude libcublasLt.so.12 --exclude libnvJitLink.so.12 -w {dest_dir} {wheel}'
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: aer-deploy-gpu-build-cuda12-${{ matrix.os }}
name: aer-deploy-separate-gpu-build-cuda12-${{ matrix.os }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: aer-deploy-build_wheels_s390x-${{ matrix.os }}
name: aer-deploy-separate-build_wheels_s390x-${{ matrix.os }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: aer-deploy-build_wheels_ppc64le-${{ matrix.os }}
name: aer-deploy-separate-build_wheels_ppc64le-${{ matrix.os }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -291,7 +291,7 @@ jobs:
- uses: actions/download-artifact@v4
with:
path: deploy
pattern: 'aer-deploy-'
pattern: 'aer-deploy-shared-'
merge-multiple: true
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit d9d7fb7

Please sign in to comment.