Skip to content

Path patterns not working #25638

Answered by airtower-luna
HAEKADI asked this question in Actions
Discussion options

You must be logged in to vote

Each step gets a fresh shell, so changes to shell settings are lost after the step. You need to set the globstar option in the step where you want to use the ** glob.

Try:

      - run: |
          shopt -s globstar
          ls tests/**/*.py

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants