GitHub Action
conan-upload
The action authenticates against the Conan remote to upload to, then uploads a package.
Example usage:
uses: grisumbras/conan-upload@latest
with:
login: johndoe
password: ${{ secrets.SECRET_CONAN_PASSSWORD }}
url: https://api.bintray.com/conan/johndoe/conan-public
Version of the package to export. If not specified, version
attribute of the
package recipe is used.
User (namespace) of the package to export. If not specified
-
CONAN_USERNAME
environment variable is used, if present; -
or
default_user
attribute of the package recipe is used, if present; -
or the first part of the value of
GITHUB_REPOSITORY
environment variable (before the slash) is used.
Channel of the package to export. If not specified, the current git ref name is matched against stable pattern. If matches, the stable channel is used, otherwise the testing channel is used.
Stable pattern comes from environment variable CONAN_STABLE_BRANCH_PATTERN
if it’s present, otherwise it is ^(master$|release.*|stable.*)
.
Stable channel comes from environment variable CONAN_STABLE_CHANNEL
if it’s
present, otherwise it is the string stable
.
Testing channel is either
-
the value of environment variable
CONAN_CHANNEL
if it’s present; -
or
default_user
attribute of the package recipe, if it’s present; -
or the string
testing
.
Dmitry Arkhipov <[email protected]>
BSL-1.0 © 2019 Dmitry Arkhipov