Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on:
workflow_dispatch:
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Display system information
run: |
echo "Displaying system information..."
echo "Operating System Details:" > system_info.txt
uname -a >> system_info.txt
echo "CPU Details:" >> system_info.txt
lscpu >> system_info.txt
echo "Memory Details:" >> system_info.txt
free -h >> system_info.txt
echo "Disk Details:" >> system_info.txt
df -h >> system_info.txt

- name: Upload system info
uses: actions/upload-artifact@v3
with:
name: system-info
path: system_info.txt
1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Task 2 test commit