From 43b267dd55f2a9e03c236e793ca06b7c5c7baea3 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sun, 28 Nov 2021 05:43:52 +0100 Subject: [PATCH] Fix the tagging condition in GHA build job (#816) --- .github/workflows/test-library.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index 3a0069516c..64139c906c 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -266,7 +266,7 @@ jobs: - name: Setup git user as [bot] if: >- fromJSON(needs.pre-setup.outputs.is-untagged-devel) - && fromJSON(needs.pre-setup.outputs.release-requested) + || fromJSON(needs.pre-setup.outputs.release-requested) uses: fregante/setup-git-user@v1.0.1 - name: >- Tag the release in the local Git repo @@ -274,7 +274,7 @@ jobs: for setuptools-scm to set the desired version if: >- fromJSON(needs.pre-setup.outputs.is-untagged-devel) - && fromJSON(needs.pre-setup.outputs.release-requested) + || fromJSON(needs.pre-setup.outputs.release-requested) run: >- git tag -m '${{ needs.pre-setup.outputs.git-tag }}'