From bf23dfffad27a75c4f52d0b3343692be6adb3ae3 Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Mon, 16 Dec 2024 21:17:10 -0500 Subject: [PATCH] Fix release publishing workflow --- .github/workflows/pip.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index c83cff317555..4d49f010a4c0 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -8,7 +8,7 @@ on: push: branches: [ main, build/pip-packaging ] release: - types: [ created ] + types: [ published ] env: # TODO: detect this from repo somehow: https://github.com/halide/Halide/issues/8406 @@ -253,7 +253,7 @@ jobs: - uses: pypa/gh-action-pypi-publish@release/v1 if: github.event_name == 'push' && github.ref_name == 'main' with: - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ - uses: pypa/gh-action-pypi-publish@release/v1 if: github.event_name == 'release' && github.event.action == 'published'