From 16815109410e8709f91623f7712dafa9a2b07777 Mon Sep 17 00:00:00 2001 From: Ray Douglass <3107146+raydouglass@users.noreply.github.com> Date: Thu, 25 May 2023 09:20:22 -0400 Subject: [PATCH] Always upload on branch/nightly builds (#1177) Since the `build.yaml` workflow only runs on branch pushes, tag pushes, or nightly calls, it should always upload the wheel to PyPI like it does for conda packages. This will fix the missing release uploads like this: https://github.com/rapidsai/dask-cuda/actions/runs/4678841210/jobs/8288889977 Authors: - Ray Douglass (https://github.com/raydouglass) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - AJ Schmidt (https://github.com/ajschmidt8) - Peter Andreas Entschev (https://github.com/pentschev) URL: https://github.com/rapidsai/dask-cuda/pull/1177 --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index df62f69fe..78ce7a054 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -73,7 +73,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} - name: Publish distribution 📦 to PyPI - if: inputs.build_type == 'nightly' uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.RAPIDSAI_PYPI_TOKEN }} + skip-existing: true