From 3750fa63f2e634d718672e25d81de979ba124d33 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 30 Mar 2023 13:57:21 +0200 Subject: [PATCH] ci: `promote_package` job condition issue workaround --- .github/workflows/ci-conan.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index 9dce68b2..9b3229d0 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -284,8 +284,9 @@ jobs: conan remove *#!latest --confirm conan remove *:*#!latest --confirm conan cache clean "*" -s -b -d + promote_package: - if: github.ref == 'refs/heads/master' || env.CHANNEL == 'stable' + if: github.ref == 'refs/heads/master' || (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) needs: build name: Promote Conan package runs-on: ubuntu-22.04