Skip to content

Commit

Permalink
Configurable yq installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcblair committed Nov 5, 2024
1 parent 7eb3cb5 commit 0e64721
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ inputs:
required: false
description: 'Default AWS region to be used if not specified in a profile.'
default: 'us-west-2'
install-yq:
required: false
description: 'Whether to install yq.'
default: 'false'

runs:
using: "composite"
steps:
- name: Install dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y jq
sudo wget https://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64 -O /usr/local/bin/yq
sudo chmod +x /usr/local/bin/yq
- name: Install yq
if: inputs.install-deps == 'true'
uses: mikefarah/[email protected]

- name: Get OIDC Token
shell: bash
Expand Down

0 comments on commit 0e64721

Please sign in to comment.