From 4fec205d091ed9c94ff6eaa55d696ef6230dc205 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:51:44 +0200 Subject: [PATCH] linux: print /etc/hosts and /etc/resolv.conf --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/action.yml b/action.yml index 2297a06..c19a567 100644 --- a/action.yml +++ b/action.yml @@ -82,6 +82,12 @@ runs: } } }); + await core.group(`Print hosts`, async () => { + await exec.exec('cat /etc/hosts'); + }); + await core.group(`Print resolv.conf`, async () => { + await exec.exec('cat /etc/resolv.conf'); + }); await core.group(`Print cpuinfo`, async () => { await exec.exec('cat /proc/cpuinfo'); });