Skip to content

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

License

Notifications You must be signed in to change notification settings

step-security/setup-yq

Repository files navigation

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

About

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

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published