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

bash -i as runCmd not working #291

Open
behrica opened this issue May 13, 2024 · 0 comments
Open

bash -i as runCmd not working #291

behrica opened this issue May 13, 2024 · 0 comments

Comments

@behrica
Copy link

behrica commented May 13, 2024

In my dev container I need to run the clj command in an interactive bash, so I try

steps:
    - uses: actions/checkout@v4
    - name: Run make ci-build in dev container
      uses: devcontainers/[email protected]
      with:    
               push: never
               runCmd: bash -i -c "clj -X:test"

but it does no work. I don't get an error, but it drops into an interactive clj shell, which comes when calling
clj without any params.
Same with single quotes:

steps:
    - uses: actions/checkout@v4
    - name: Run make ci-build in dev container
      uses: devcontainers/[email protected]
      with:    
               push: never
               runCmd: bash -i -c 'clj -X:test'
@behrica behrica changed the title bash .i as runCmd not working bash -i as runCmd not working May 13, 2024
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