GitHub Action
Last updated
Was this helpful?
Last updated
Was this helpful?
You can use yq
in your GitHub action, for instance:
The yq
action sets a result
variable in its output, making it available to subsequent steps. In this case it's available as steps.lookupSdkVersion.outputs.result
.
Details of how the GitHub action itself is configured can be found
GitHub Actions escape and interpolate rules can conflict with some yq syntax. Here is an example of how to quote a variable that could contain dots in a query path (more usage context: ambanum/OpenTermsArchive#899).
Thanks @MattiSG!
If you , you can see additional information about the exact command sent as well as the response returned within the GitHub Action logs.
Thanks @!
The default user in github action dockerfiles (at the time of writing) seems to be 1001. This is what the yq
github action is configured to run with (see the docker file )
There's a working example defined and you can see the Github action
If you need to set the action to another user, follow the advice .