This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-publish.git
The following commit(s) were added to refs/heads/main by this push:
new 924fe51 run publish job when mode is RELEASE
924fe51 is described below
commit 924fe5167918ba6267389b64cd6adf9de8fc0cd0
Author: Pavan Kumar <[email protected]>
AuthorDate: Fri Dec 13 10:11:49 2024 +0000
run publish job when mode is RELEASE
---
.github/workflows/airflow-publish.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/airflow-publish.yml
b/.github/workflows/airflow-publish.yml
index c4ed977..abe8bcc 100644
--- a/.github/workflows/airflow-publish.yml
+++ b/.github/workflows/airflow-publish.yml
@@ -150,6 +150,7 @@ jobs:
publish-to-pypi:
name: Publish svn packages to PyPI
runs-on: ubuntu-20.04
+ if: inputs.mode == 'RELEASE' && success()
needs:
- release-checks
permissions:
@@ -165,6 +166,5 @@ jobs:
- name: "Publishing ${{ needs.release-checks.outputs.publisher-name }}
to PyPI"
uses: pypa/gh-action-pypi-publish@release/v1
- if: inputs.mode == 'RELEASE'
with:
packages-dir: "./dist"