Skip to content

Commit

Permalink
fix(deb-build-push-notify): missing binutils dependency
Browse files Browse the repository at this point in the history
DEVOPS-77
  • Loading branch information
remdub committed Jul 30, 2024
1 parent 4f2ba85 commit 6bde514
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions deb-build-push-notify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,21 @@ inputs:
runs:
using: 'composite'
steps:
- name: 'Install curl, dpkg-sig, python3-pip and ruby-dev'
run: sudo apt-get update && sudo apt-get install -y curl dpkg-sig python3-pip ruby-dev
- name: 'Install ar, curl, dpkg-sig, python3-pip and ruby-dev'
run: |
if which ar > /dev/null && which curl > /dev/null && which dpkg-sig > /dev/null && which pip3 > /dev/null && which gem > /dev/null; then
echo "Packages are already installed"
else
sudo apt-get update && sudo apt-get install -y binutils curl dpkg-sig python3-pip ruby-dev
fi
shell: bash
- name: 'Install fpm'
run: sudo gem install fpm
run: |
if which fpm > /dev/null; then
echo "fpm is already installed"
else
sudo gem install fpm
fi
shell: bash
- name: 'Install signing key'
shell: bash
Expand Down

0 comments on commit 6bde514

Please sign in to comment.