Skip to content

GitHub Action to setup the `jq` and `yq` command for yaml and json parsing

License

Notifications You must be signed in to change notification settings

denniskern/setup-yq-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-yq-action

GitHub Action to setup yq command for yaml and json parsing

Example of use :

name: Release

on: [ "push" ]

jobs:
  parse_yaml:
    name: Parse Yaml
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Install yq
        id: setup-yq
        uses: shiipou/[email protected]
      - name: get version
        run: |
          VERSION=$(yq '.dependency.my_component.git.ref' pubspec.yaml)

About

GitHub Action to setup the `jq` and `yq` command for yaml and json parsing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published