Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 594 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 594 Bytes

setup-yq

Sets up 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@v3
    - uses: step-security/setup-yq@v1
    - name: Show folks how to run YQ:
      run: |
        yq --help

License

Apache-2.0