From cd27d4dfc8c1a30e7f18a4038e264ddc51432156 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Fri, 23 Feb 2024 13:21:36 -0800 Subject: [PATCH] Update publish-ci to continue on certain failures (#5191) There was an error observed during the v0.33.0 release where the deephaven-server artifact was too large for PyPi. There are other failure scenarios that we could potentially run into here as well - network connectivity, expired tokens, temporary service interruptions, etc. Given that all of the release artifacts have already been successfully uploaded as a GitHub artifact, we should prefer to continue with publishing to all the sources even if one of the sources fails. --- .github/workflows/publish-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-ci.yml b/.github/workflows/publish-ci.yml index 2a2c52532ff..9806ee78315 100644 --- a/.github/workflows/publish-ci.yml +++ b/.github/workflows/publish-ci.yml @@ -89,6 +89,7 @@ jobs: user: __token__ password: ${{ secrets.DEEPHAVENCORE_PYPI_TOKEN }} packages_dir: py/server/build/wheel/ + continue-on-error: true - name: Publish deephaven-server to PyPi if: ${{ startsWith(github.ref, 'refs/heads/release/v') }} @@ -97,6 +98,7 @@ jobs: user: __token__ password: ${{ secrets.DEEPHAVENSERVER_PYPI_TOKEN }} packages_dir: py/embedded-server/build/wheel/ + continue-on-error: true - name: Publish pydeephaven to PyPi if: ${{ startsWith(github.ref, 'refs/heads/release/v') }} @@ -105,9 +107,11 @@ jobs: user: __token__ password: ${{ secrets.PYDEEPHAVEN_PYPI_TOKEN }} packages_dir: py/client/build/wheel/ + continue-on-error: true - name: Publish @deephaven/jsapi-types to npmjs if: ${{ startsWith(github.ref, 'refs/heads/release/v') }} env: NODE_AUTH_TOKEN: ${{ secrets.DEEPHAVENBOT_NPM_TOKEN }} run: npm publish --tag latest web/client-api/types/build/deephaven-jsapi-types-*.tgz + continue-on-error: true