An open API service indexing awesome lists of open source software.

https://github.com/step-security/setup-yq

Sets up YQ, yet-another-markup-language-query-er, for use in your Github Actions workflow
https://github.com/step-security/setup-yq

step-security-maintained-actions

Last synced: 11 months ago
JSON representation

Sets up YQ, yet-another-markup-language-query-er, for use in your Github Actions workflow

Awesome Lists containing this project

README

          

# setup-yq

Sets up [YQ][ref-yq], yet-another-markup-language-query-er, for use in your GitHub Actions workflow. (And it caches it, too!)

**NB: This version of YQ purposefully diverges from JQ's argument format.**

## Usage

```
# in your job:
name: MY GREAT JOB
on:
push:
branches:
- '*'
jobs:
yq-example:
name: YQ example!
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: step-security/setup-yq@v1
- name: Show folks how to run YQ:
run: |
yq --help

```

## License

Apache-2.0

[ref-yq]: https://github.com/mikefarah/yq