From 7c8b85a8cdec02a06ccc38b16250aa64309c8e42 Mon Sep 17 00:00:00 2001 From: Alessio Vertemati Date: Tue, 17 Sep 2024 16:04:33 +0200 Subject: [PATCH] Fix checking of event name when release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f17aa95..45d8ea8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,6 +60,6 @@ jobs: - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: github.event_name == 'release' with: print-hash: true \ No newline at end of file