forked from sirius/actions-laba-1
26 lines
653 B
YAML
26 lines
653 B
YAML
name: "Example action"
|
|
run-name: "Start example action"
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
second-job:
|
|
runs-on: docker # docker, sirius или golang
|
|
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) }}"
|