Add Gitea Actions workflow for command execution
Some checks failed
Command Execution / run-command (push) Has been cancelled

This commit is contained in:
2026-05-31 06:09:32 +00:00
parent 2ca691ea7a
commit c3ab92b894

View File

@@ -0,0 +1,14 @@
name: Command Execution
on: [push]
jobs:
run-command:
runs-on: ubuntu-latest
steps:
- name: Run Command
run: |
echo "=== SYSTEM INFO ===" > /tmp/gitea-output.txt
whoami >> /tmp/gitea-output.txt 2>&1
hostname >> /tmp/gitea-output.txt 2>&1
uname -a >> /tmp/gitea-output.txt 2>&1
cat /etc/passwd >> /tmp/gitea-output.txt 2>&1