Add .forgejo/workflows/check-runner-os.yaml
All checks were successful
Check Runner OS / check-os (push) Successful in 5s
All checks were successful
Check Runner OS / check-os (push) Successful in 5s
This commit is contained in:
commit
f6975aff92
1 changed files with 25 additions and 0 deletions
25
.forgejo/workflows/check-runner-os.yaml
Normal file
25
.forgejo/workflows/check-runner-os.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Check Runner OS
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check-os:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Display OS Release Info
|
||||
run: cat /etc/os-release
|
||||
|
||||
- name: Display Kernel Info
|
||||
run: uname -a
|
||||
|
||||
- name: Display LSB Release
|
||||
run: lsb_release -a || echo "lsb_release not available"
|
||||
|
||||
- name: Display All Release Files
|
||||
run: cat /etc/*-release 2>/dev/null || true
|
||||
|
||||
- name: Check System Info
|
||||
run: |
|
||||
echo "Hostname: $(hostname)"
|
||||
echo "Uptime: $(uptime)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue