From b1fec05dfaaed0517b82f45f570f9260a496e703 Mon Sep 17 00:00:00 2001 From: SMITH <1695515+ms609@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:48:03 +0000 Subject: [PATCH] other identifiers --- .github/workflows/rhub.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml index d5123528..5f239a08 100644 --- a/.github/workflows/rhub.yaml +++ b/.github/workflows/rhub.yaml @@ -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