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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation on how to run ssh for only job in a matrix #121

Open
KrisThielemans opened this issue Apr 30, 2022 · 2 comments
Open

documentation on how to run ssh for only job in a matrix #121

KrisThielemans opened this issue Apr 30, 2022 · 2 comments

Comments

@KrisThielemans
Copy link

I'd like to be able to specify how which job of my matrix needs to open an ssh shell, as I can't really debug all of them at the same time 馃槃 . Is that possible at all?

Here's my current Actions yml, just in case that helps.

thanks!

@paw-lu
Copy link

paw-lu commented May 18, 2022

Admitedly haven't tried it, but likely you could specify it in your if statement to match the specfic matrix values?

    - name: Setup tmate session
        uses: mxschmitt/action-tmate@v3
        if: ${{ maxtrix.compiler == 'gcc' && matrix.os == 'macOS-latest' }}

@dejayc
Copy link

dejayc commented Feb 13, 2023

Admitedly haven't tried it, but likely you could specify it in your if statement to match the specfic matrix values?

Thanks for this, I'm new to all this and your answer helped me to debug something!

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

3 participants