You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sangshuduo it appears there’s an unescaped character in the filename which is the cause of the error you are seeing. I'll recommend switching from bash loops to natively supported GitHub action function.
CHANGE
for file in ${{ steps.changed-files.outputs.all_changed_files }}; doecho "$file was changed"done
@sangshuduo it appears there an unescaped characters in the filenames which is the cause of the error you are seeing. I'll recommend switching from bash loops to natively supported GitHub action function.
CHANGE
for file in ${{ steps.changed-files.outputs.all_changed_files }}; doecho "$file was changed"done
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
My action's runs-on is windows-latest
the error message is:
ParserError: D:\a_temp\53945d85-e140-4e9e-baf5-4928a0b9745a.ps1:2
Line |
2 | for file in .github/workflows/windows.yml inc/bench.h src/CMakeLists. …
| ~
| Missing opening '(' after keyword 'for'.
To Reproduce
add following text to my script:
run the workflow
What OS are you seeing the problem on?
windows-latest or windows-2019
Expected behavior?
work as what it work with linux
Relevant log output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: