Skip to content

chrisdickinson/setup-yq

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-yq

Sets up YQ, yet-another-markup-language-query-er, for use in YOUR github action 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@v1
    - uses: chrisdickinson/setup-yq@latest
    - name: Show folks how to run YQ:
      run: |
        yq --help

Hacking

After you've made changes, you must run npm run build and commit the dist/index.js, or else your changes won't take effect!

License

Apache-2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •