From 250d85492ee92fb71d169610622441659ea1ffef Mon Sep 17 00:00:00 2001 From: Alex Matsuev Date: Tue, 25 Nov 2025 08:57:35 +0300 Subject: [PATCH] Update --- .gitea/workflows/example-action.yaml | 24 ++++++++++++++++++++++++ .gitea/workflows/my-first-action.yaml | 19 ------------------- Taskfile.yaml | 5 ----- 3 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 .gitea/workflows/example-action.yaml delete mode 100644 .gitea/workflows/my-first-action.yaml delete mode 100644 Taskfile.yaml diff --git a/.gitea/workflows/example-action.yaml b/.gitea/workflows/example-action.yaml new file mode 100644 index 0000000..a47bb79 --- /dev/null +++ b/.gitea/workflows/example-action.yaml @@ -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) }}" diff --git a/.gitea/workflows/my-first-action.yaml b/.gitea/workflows/my-first-action.yaml deleted file mode 100644 index 040cff3..0000000 --- a/.gitea/workflows/my-first-action.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: "My First Action" - -on: - push: - -jobs: - second-job: - runs-on: docker - steps: - - name: Install task utility - run: | - curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | bash - apt update - apt install task - - - uses: actions/checkout@v6 - - - name: Run task hello - run: task hello diff --git a/Taskfile.yaml b/Taskfile.yaml deleted file mode 100644 index 8cb5c82..0000000 --- a/Taskfile.yaml +++ /dev/null @@ -1,5 +0,0 @@ -version: "3" - -tasks: - hello: - cmd: echo "Hello!!!"