Skip to content
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

Parse workflow command messages like debug/notice/warning/error #76

Open
TWiStErRob opened this issue Feb 29, 2024 · 0 comments
Open

Parse workflow command messages like debug/notice/warning/error #76

TWiStErRob opened this issue Feb 29, 2024 · 0 comments

Comments

@TWiStErRob
Copy link
Contributor

TWiStErRob commented Feb 29, 2024

Feature request
Same as #66, but for other commands. Note #70 might invalidate this?

Additional context
Docs: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions

Example:

[Android/Build] ⭐ Run Main Upload 'Application APKs' artifact.
[Android/Build]   🐳  docker cp src=~/.cache/act/actions-upload-artifact@v3/ dst=/var/run/act/actions/actions-upload-artifact@v3/
[Android/Build]   🐳  docker exec cmd=[node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js] user= workdir=
[Android/Build]   💬  ::debug::followSymbolicLinks 'true'
[Android/Build]   💬  ::debug::implicitDescendants 'true'
[Android/Build]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Android/Build]   💬  ::debug::followSymbolicLinks 'true'
[Android/Build]   💬  ::debug::implicitDescendants 'true'
[Android/Build]   💬  ::debug::matchDirectories 'true'
[Android/Build]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Android/Build]   💬  ::debug::Search path '~/.../testRepo/app/build/outputs/apk'
[Android/Build]   💬  ::debug::Search path '~/.../testRepo/app/build/outputs/mapping'
[Android/Build]   | Multiple search paths detected. Calculating the least common ancestor of all paths
[Android/Build]   💬  ::debug::Using search path ~/.../testRepo/app/build/outputs/apk
[Android/Build]   💬  ::debug::Using search path ~/.../testRepo/app/build/outputs/mapping
[Android/Build]   | The least common ancestor is ~/.../testRepo/app/build/outputs. This will be the root directory of the artifact
[Android/Build]   ❗  ::error::No files were found with the provided path: ~/.../testRepo/app/build/outputs/apk/*/*.apk%0A~/.../testRepo/app/build/outputs/mapping/*/mapping.txt%0A~/.../testRepo/app/build/outputs/mapping/*/configuration.txt. No artifacts will be uploaded.
[Android/Build]   ❌  Failure - Main Upload 'Application APKs' artifact.
[Android/Build] exitcode '1': failure

should be able to assert on No files were found with the provided path: ... or even Using Search path ....

@TWiStErRob TWiStErRob changed the title Parse workflow command messages like error and warning Parse workflow command messages like debug/notice/warning/error Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant