From fc9a225e71e76e053eeb7f403f4a20fd5e07e7b7 Mon Sep 17 00:00:00 2001 From: Ayoub Benaissa Date: Mon, 13 May 2024 09:33:59 +0100 Subject: [PATCH 1/2] fix(ci): remove dependence between diff py repo pushes we don't want one push failure to impact the others --- .github/workflows/concrete_python_release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/concrete_python_release.yml b/.github/workflows/concrete_python_release.yml index 1297e64ccf..5136bada85 100644 --- a/.github/workflows/concrete_python_release.yml +++ b/.github/workflows/concrete_python_release.yml @@ -201,6 +201,7 @@ jobs: merge-multiple: true - name: Push wheels to internal PyPI (nightly) + continue-on-error: true if: ${{ env.RELEASE_TYPE == 'nightly' }} run: | pip install twine==4.0.2 @@ -210,6 +211,7 @@ jobs: --repository-url "${{ secrets.INTERNAL_PYPI_URL }}" - name: Push wheels to public PyPI (public) + continue-on-error: true if: ${{ env.RELEASE_TYPE == 'public' }} run: | pip install twine==4.0.2 @@ -219,6 +221,7 @@ jobs: -r pypi - name: Upload wheels to S3 + continue-on-error: true if: ${{ env.RELEASE_TYPE == 'public' }} env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_IAM_ID }} From f8f180ae3799013688b679b239e9235d2e089f2a Mon Sep 17 00:00:00 2001 From: Ayoub Benaissa Date: Mon, 13 May 2024 09:38:19 +0100 Subject: [PATCH 2/2] fix(ci): fail when build cmd fail --- .github/workflows/concrete_python_release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/concrete_python_release.yml b/.github/workflows/concrete_python_release.yml index 5136bada85..3f07083aff 100644 --- a/.github/workflows/concrete_python_release.yml +++ b/.github/workflows/concrete_python_release.yml @@ -86,6 +86,8 @@ jobs: ${{ env.DOCKER_GPU_OPTION }} shell: bash run: | + set -e + rustup toolchain install nightly-2024-01-31 rm -rf /build/*