From d9d7fb78e1407d197fd84a5b220af7a66423243e Mon Sep 17 00:00:00 2001 From: Gadi Aleksandrowicz Date: Wed, 15 Jan 2025 13:48:48 +0200 Subject: [PATCH] Bump all upload-artifact to v4 and distinguish between "shared" and "separete" uploads --- .github/workflows/deploy.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 748fd70026..5ac5e3fad5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }} @@ -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: @@ -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 @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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