This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user