28 lines
553 B
YAML
28 lines
553 B
YAML
name: Hello World
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
hello:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Print hello
|
|
run: |
|
|
echo "Hello from Gitea Actions!"
|
|
echo "Actor: ${{ gitea.actor }}"
|
|
echo "Repository: ${{ gitea.repository }}"
|
|
echo "Branch: ${{ gitea.ref }}"
|
|
echo "Runner OS: ${{ runner.os }}"
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: List repository files
|
|
run: |
|
|
pwd
|
|
ls -lah |