Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

run-cpt

v0.1.0

run-cpt

package

run-cpt

GitHub Action that runs conan_package_tools

Installation

Copy and paste the following snippet into your .yml file.

              

- name: run-cpt

uses: grisumbras/[email protected]

Learn more about this action in grisumbras/run-cpt

Choose a version

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.

Maintainer

Dmitry Arkhipov <[email protected]>

Contributing

Patches welcome!

License

BSL-1.0 © 2019 Dmitry Arkhipov