This commit is contained in:
2025-11-29 12:21:33 +03:00
parent b231032a6e
commit 4698d2ce86
5 changed files with 55 additions and 15 deletions

View File

@@ -6,20 +6,12 @@ on:
jobs:
second-job:
runs-on: docker # docker, sirius или golang
runs-on: golang
steps:
# Клонируем репозиторий для Runnera
- name: Checkout rpository
uses: actions/checkout@v6
- run: |
# Выводим текстовое сообщение
- name: Echo test
run: echo "Hello!"
# Выводим переменные окружения
- name: Show environment
run: env
# Выводим контекст Gitea в формате JSON
- name: Show Gitea context
run: echo "${{ toJson(gitea) }}"
if [ ${{ gitea.actor }} == 'wwitchq' ]; then
echo "Hello, ${{ gitea.actor }}"
else
echo "Hello, Violetta"
fi