add basic workflow
This commit is contained in:
parent
0d72053638
commit
149b0adf02
1 changed files with 33 additions and 0 deletions
33
.github/workflows/sysadmin-basic.yml
vendored
Normal file
33
.github/workflows/sysadmin-basic.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Sysadmin Basic
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
basic-job:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name :Repository auschecken
|
||||
uses:actions/checkout@v3
|
||||
|
||||
- name:Datum anzeigen
|
||||
run:date
|
||||
|
||||
- name: Systeminfosanzeigen
|
||||
run: uname -a
|
||||
- name: Aktuelles Verzeichnis
|
||||
|
||||
anzeigen
|
||||
|
||||
run: pwd
|
||||
|
||||
- name: Verzeichnisinhalt auflisten
|
||||
run: ls -la
|
||||
|
||||
- name: Report erstellen
|
||||
run: |
|
||||
mkdir -p reports
|
||||
echo "Datum: $(date)" > reports/system-report.txt
|
||||
echo "Runner: $(uname -a) " >> reports/system-report.txt
|
||||
ls -la >> reports/system-report.txt
|
||||
Loading…
Add table
Add a link
Reference in a new issue