Skip to content

Commit

Permalink
fix(rundeck-notify): install jq if not present on runner
Browse files Browse the repository at this point in the history
DEVOPS-138
  • Loading branch information
remdub committed Jul 31, 2024
1 parent 336de00 commit c909d6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [v3.7.2] - 2024-07-31
### Fixed
- rundeck-notify
- missing dependency

## [v3.7.1] - 2024-07-30
### Fixed
- deb-build-push-notify
Expand Down
8 changes: 4 additions & 4 deletions rundeck-notify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ inputs:
runs:
using: 'composite'
steps:
- name: Install curl
- name: Install curl and jq
run: |
if which curl > /dev/null; then
echo "curl is already installed"
if which curl > /dev/null && which jq > /dev/null; then
echo "curl and jq are already installed"
else
sudo apt-get update && sudo apt-get install -y curl
sudo apt-get update && sudo apt-get install -y curl jq
fi
shell: bash
- name: Call Rundeck job
Expand Down

0 comments on commit c909d6b

Please sign in to comment.