An action to create an issue with a request to update the package recipe in an upstream repository with Conan Center Index's request formatting.
To start using the Action create a yaml file in your repository under the .github/workflow/
directory.
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: Minimonium/conan-request-action@master
with:
token: ${{ secrets.PERSONAL_TOKEN }}
Input | Default | Description |
---|---|---|
token | - | An author's personal github token to create issues in the upstream repository |
packageName | Lower-cased name of the author's repository | The name of the package in the upstream repository |
upstreamOwner | conan-io | Name of the upstream repository's owner |
upstreamRepo | conan-center-index | Name of the upstream repository |
To create a personal Github Token go to your personal tokens page and click Generate new token
button. Copy the produced token.
Go to your repository's secrets page and click Add a new secret
. Create a secret with the personal token created at the previous step.
For example, if you name it PERSONAL_TOKEN
- then in the workflow file you should use it like this: token: ${{ secrets.PERSONAL_TOKEN }}
.