Files

35 lines
974 B
YAML

name: Runner Test
on:
push:
branches: [main]
workflow_dispatch: # lets you trigger it manually from the UI too
jobs:
hello:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Print basic info
run: |
echo "✅ Runner is working!"
echo "Hostname: $(hostname)"
echo "Date: $(date)"
echo "User: $(whoami)"
pwd
ls -la
- name: Test env variables
run: |
echo "Branch: ${{ github.ref_name }}"
echo "Commit SHA: ${{ github.sha }}"
echo "Actor: ${{ github.actor }}"
- name: Simulate a build step
run: |
mkdir -p build
echo "Build artifact content" > build/output.txt
cat build/output.txt