Skip to content

Commit

Permalink
Update action.yml (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Oct 14, 2024
1 parent fd5c23d commit 4c21ba8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@ runs:
- name: Set Infisical package source
shell: bash
run: curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | sudo -E bash

- name: Install tools
shell: bash
run: |
version=$(pip show pip | grep Version: | cut -d' ' -f2)
lower=$(printf "23.1\n$version" | sort -V | head -n1)
sudo apt-get update && sudo apt-get install -y infisical
pip install csvkit --break-system-packages
if [ "$lower" == "23.1" ]
then
pip install csvkit --break-system-packages
else
pip install csvkit
fi
npm install -g csv-to-markdown-table
- name: Run scan
Expand Down

0 comments on commit 4c21ba8

Please sign in to comment.