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

install_miniconda failing on GHA ubuntu because of shell #1317

Closed
AshesITR opened this issue Jan 7, 2023 · 1 comment
Closed

install_miniconda failing on GHA ubuntu because of shell #1317

AshesITR opened this issue Jan 7, 2023 · 1 comment

Comments

@AshesITR
Copy link

AshesITR commented Jan 7, 2023

As reported in ContinuumIO/anaconda-issues#13110 the install script for miniconda newly requires bash as a shell because it uses [[.

Unfortunately, install_miniconda() seems to use sh on GHA under ubuntu, as evident by build failures.

Here is the relevant step in my workflows for reference:

      - name: install miniconda / tensorflow
        run: |
          reticulate::install_miniconda()
          tensorflow::install_tensorflow()
          tensorflow::tf$constant("Hellow Tensorflow")
        shell: Rscript {0}
@AshesITR AshesITR closed this as completed Jan 7, 2023
@AshesITR
Copy link
Author

AshesITR commented Jan 7, 2023

Sorry, seems to be fixed in dev.

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

1 participant