Skip to content

Commit

Permalink
feat: Fallback to Preinstalled jq (#17)
Browse files Browse the repository at this point in the history
Use a preinstalled `jq` version if any is detected. Otherwise, install
`jq` by downloading from their source.
  • Loading branch information
nikhilbirmiwal authored Aug 28, 2023
1 parent cc583ab commit 3feb8b0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ runs:
# trunk-ignore(semgrep): Trust third-party `bazelbuild` GH Action
uses: bazelbuild/setup-bazelisk@v2

- name: Setup Tools
shell: bash
run: |
sudo apt-get update
sudo apt-get install jq
- name: Setup jq
# trunk-ignore(semgrep): Trust third-party action to install JQ. Source code: https://github.com/dcarbone/install-jq-action/
uses: dcarbone/[email protected]

- name: Prerequisites
id: prerequisites
Expand Down

0 comments on commit 3feb8b0

Please sign in to comment.