Skip to content

Commit

Permalink
other identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Feb 19, 2024
1 parent be89841 commit b1fec05
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,18 @@ jobs:
- name: Install sudo (Linux)
if: runner.os == 'Linux'
run: |
lsb_release -a
if command -v cat
then
cat /etc/os-release
fi
if command -v hostnamectl
then
hostnamectl
fi
if command -v uname
then
uname -r
fi
if command -v apt-get &> /dev/null
then
apt-get install sudo
Expand Down

0 comments on commit b1fec05

Please sign in to comment.