ci: promote_package job condition issue workaround

This commit is contained in:
Mateusz Pusz
2023-03-30 13:57:21 +02:00
parent 2d35fa0893
commit 3750fa63f2

View File

@@ -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