-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
As per the docs:

internal code of @actions/glob
mentions that patterns can be splitted by \n
To Reproduce
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: touch file.ts file.tsx
- run: echo ${{ hashFiles('file.ts\nfile.tsx') }} # empty output
- run: echo ${{ hashFiles('file.ts', 'file.tsx') }} # correct hash
Expected behavior
it should be possible to pass a string with \n
delimiters (or even better an array) so that we can feed a fromJson()
or a join(fromJson())
expression
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working