forked from mpusz/mp-units
ci: promote_package
job condition issue workaround
This commit is contained in:
3
.github/workflows/ci-conan.yml
vendored
3
.github/workflows/ci-conan.yml
vendored
@@ -284,8 +284,9 @@ jobs:
|
|||||||
conan remove *#!latest --confirm
|
conan remove *#!latest --confirm
|
||||||
conan remove *:*#!latest --confirm
|
conan remove *:*#!latest --confirm
|
||||||
conan cache clean "*" -s -b -d
|
conan cache clean "*" -s -b -d
|
||||||
|
|
||||||
promote_package:
|
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
|
needs: build
|
||||||
name: Promote Conan package
|
name: Promote Conan package
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
Reference in New Issue
Block a user