Skip to content

run-cpt

Actions
GitHub Action that runs conan_package_tools
v0.2.0
Latest
Star (2)

run-cpt

Build status

GitHub Action that runs conan_package_tools

Usage

Example usage:

uses: grisumbras/run-cpt@latest
with:
  build-script: conan/build.py

You can set environment variables that control Conan and CPT behaviour using env key:

- uses: grisumbras/run-cpt@latest
  env:
    CONAN_REMOTES: https://api.bintray.com/conan/bincrafters/public-conan

Additionally, if CONAN_USERNAME is not specified, the first part of GITHUB_REPOSITORY (before slash) will be used.

Inputs

build-script

Path to the build script. Given build-script: x/y/z.py, the action will run python x/y/z.py. build.py by default.

install

Install conan_package_tools before running the build script if the value is not no. If the value is latest install the latest version, otherwise install the version equal to that value. latest by default.

Maintainer

Dmitry Arkhipov <[email protected]>

Contributing

Patches welcome!

License

BSL-1.0 © 2019 Dmitry Arkhipov

run-cpt is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action that runs conan_package_tools
v0.2.0
Latest

run-cpt is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.