question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pattern does not match any files

See original GitHub issue

Here is output of “dir”:

    Directory: D:\a\rssguard\rssguard\rssguard-build

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          11/21/2022  1:24 PM       22695723 rssguard-devbuild-94d41d8a-nowebengine-win7.7z
-a---          11/21/2022  1:25 PM       25244134 rssguard-devbuild-94d41d8a-nowebengine-win7.exe

But my script does not produce expected result:

Run softprops/action-gh-release@v1
  with:
    prerelease: true
    name: Development builds
    tag_name: devbuild
    files: .\rssguard-build\rssguard-*win7.exe
  .\rssguard-build\rssguard-*win7.7z
  .\rssguard-build\rssguard-*win10.exe
  .\rssguard-build\rssguard-*win10.7z
  ./rssguard-build/rssguard-*mac64.dmg
  ./rssguard-build/rssguard-*linux64.AppImage
  
    token: ***
  env:
    GITHUB_TOKEN: ***
  
🤔 Pattern '.\rssguard-build\rssguard-*win7.exe' does not match any files.
🤔 Pattern '.\rssguard-build\rssguard-*win7.7z' does not match any files.

Pattern should clearly match and it did match some weeks/month ago without any related changes in my code. Maybe some regression in your great code. 😃

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:11
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
johannesnormannjensencommented, Nov 21, 2022

For now our workaround is: uses: softprops/action-gh-release@v0.1.13

1reaction
johannesnormannjensencommented, Nov 21, 2022

We get the same output as we are running this on our own self-hosted runner on our windows server 2019 machine. It’s because this only works on POSIX paths al of a sudden.

Could it have something to do with the latest dep update of actions/glob?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"pattern ... does not match any files, skipping" / "syntax error in ...
docx in a line in a textfile and when I run restic backup --files-from textfile I get this error: pattern "/some/path/0 [1].docx" does...
Read more >
Karma can't match any js file - Stack Overflow
Web/src/assets/libs/jquery-2.1.4.js" does not match any file. Probably basePath or pattern of files is wrongly configured. Try to set basePath ...
Read more >
File Patterns - electron-builder
If the first character of the range is ! or ^ then it matches any character not in the range. !(pattern|pattern|pattern) Matches anything...
Read more >
Pattern Matching - the Computer Science Department
If a file glob does not match any filenames, bash does not replace it with an empty string; instead it treats the pattern...
Read more >
grep - Search a file for a specified pattern - IBM
If grep finds a line that matches a pattern, it displays the entire line. If you specify multiple input files, the name of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found