Skip to content

Commit

Permalink
linux: print /etc/hosts and /etc/resolv.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Apr 11, 2024
1 parent dc14ead commit 4fec205
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
Expand Down

0 comments on commit 4fec205

Please sign in to comment.