-
-
Notifications
You must be signed in to change notification settings - Fork 1
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consumer of GH Action appears unable to find dist/ build artifacts? #180
Comments
I think I got it! The missing piece of the puzzle was that once I had my repo all happy and set up - I needed to:
The release in particular generates the distribution output directory and adds it to a git commit. Seeing if this solves my issue! |
Indeed, that addressed my issue! |
Alas - it seems my objective is not entirely feasible as-intended. The multi-line problemMatcher must strictly apply pattern-for-line. This limitation prevents me from using e.g. manual annotations in my logs for the project root directory (fromPath). Looks like a loop operation is supported but not a "match this sequence with arbitrary non-match lines between." |
I'm glad you found this helpful. The process to do a new release isn't really documented, but this is generally what I do for each of my actions (it's a powershell script): # in my profile: function purge { Remove-Item $args[0] -Recurse -ErrorAction Ignore }
purge dist && purge lib && purge node_modules
git checkout releases/v1 && git merge main
purge dist && purge lib && purge node_modules
npm ci
npm run lint --if-present && npm test
npm run build && npm run release
git commit -m "Release v1.1.0" # creates the release commit
git tag -fa v1 -m "Update v1 tag" # updates the v1 tag to point to the latest release
git push origin && git push origin v1 --force I use the website to create the actual release which also creates the There's a number of limitations that problem matchers have with file paths. If I'm understanding this correctly your log output contains the file's name, but doesn't contain the file's path. One of the features that's been asked for is a way to supply the path through another field or use the script's working directory but so far there's been no traction on it. Here's a couple issues that might be useful: |
Big thank you for this awesome Template! Super userful and such high quality work. Excellent comments, test coverage.
I'm working on a GCC problem-matcher with support for fromPath annotations. I've taken your Template problem-matcher and made one commit's worth of modifications Here.
My repo appears to be going through post-submit compile and test fine - e.g. see Here.
I have a super simple secondary repo that is intended to prototype this fromPath GCC warning capability. When I submit a PR intended to trigger the findings - I'm getting an error on fetch of electronjoe/gcc-problem-matcher-ts.
Here is an example GH Action failure that uses the above electronjoe/gcc-problem-matcher-ts.
I'll keep exploring! I'm really a typescript greehorn. Some of my questions I'm working to answer msyelf include:
rpm run build
in gcc-problem-matcher-tsWelcome assistance! Hope you are having a great week.
The text was updated successfully, but these errors were encountered: