Compare commits
6 Commits
v0.0.1
...
b231032a6e
| Author | SHA1 | Date | |
|---|---|---|---|
| b231032a6e | |||
| 10dae7e9ca | |||
| 250d85492e | |||
| 9fbacc3cd4 | |||
| bef7ffda19 | |||
| d42a17e98e |
25
.gitea/workflows/example-action.yaml
Normal file
25
.gitea/workflows/example-action.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
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) }}"
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
name: "My First Action"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
second-job:
|
|
||||||
runs-on: docker
|
|
||||||
steps:
|
|
||||||
- run: env
|
|
||||||
Reference in New Issue
Block a user