act-js
act-js copied to clipboard
Parse workflow command messages like debug/notice/warning/error
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 ....