This commit is contained in:
24
.gitea/workflows/example-action.yaml
Normal file
24
.gitea/workflows/example-action.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: "My First Action"
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
second-job:
|
||||
runs-on: docker
|
||||
steps:
|
||||
# Клонируем репозиторий для Runnera
|
||||
- name: Checkout rpository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Выводим текстовое сообщение
|
||||
- name: Echo test
|
||||
run: echo "Hello!"
|
||||
|
||||
# Выводим переменные окружения
|
||||
- name: Show environment
|
||||
run: env
|
||||
|
||||
# Выводим контекст Gitea в формате JSON
|
||||
- name: Show Gitea context
|
||||
run: echo "${{ toJson(gitea) }}"
|
||||
Reference in New Issue
Block a user