Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the conda directory location #2

Open
pradal opened this issue Jan 23, 2024 · 3 comments
Open

How to set the conda directory location #2

pradal opened this issue Jan 23, 2024 · 3 comments
Assignees

Comments

@pradal
Copy link

pradal commented Jan 23, 2024

I need to set the conda directory location in a complex repository:
openalea-component

Various packages are tested independently. So I need to inform each one to build pylab, pkgbuilder and the like.
How to do so?

Something like

with:
    conda : pylab/conda
@thomasarsouze
Copy link
Contributor

It should work like that.
Default conda (directory with conda recipe) parameter value is conda but you can indeed specify

with:
    conda: pylab/conda

and possibly repeat the call to the action as many times as necessary for openalea-component changing this value of conda parameter

@pradal
Copy link
Author

pradal commented Jan 24, 2024

Could I set an order? For instance I need to build stdlib before others...

@thomasarsouze
Copy link
Contributor

I guess you can define your workflow that'll wait for the end of one job to start another one. Something like:

jobs:
  build:
    steps:
      - name: build-stdlib
         uses: openalea/github-action-conda-build/.github/workflows/conda-package-build.yml@main
           with:
             conda: stdlib/conda
           secrets: 
             anaconda_token: ${{ secrets.ANACONDA_TOKEN }}
      - name: build-pylab
         uses: openalea/github-action-conda-build/.github/workflows/conda-package-build.yml@main
           with:
             conda: pylab/conda
           secrets: 
             anaconda_token: ${{ secrets.ANACONDA_TOKEN }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants