From 9b75892eac7d4794a6caad5885ad977552d4569b Mon Sep 17 00:00:00 2001 From: KLxHunter Date: Tue, 10 Dec 2024 16:32:27 +0700 Subject: [PATCH] test cicd --- .gitea/workflows/00-someaction.yaml | 6 ++++++ .gitea/workflows/01-demo.yaml | 4 ++++ README.md | 1 + 3 files changed, 11 insertions(+) diff --git a/.gitea/workflows/00-someaction.yaml b/.gitea/workflows/00-someaction.yaml index 770abcf..33c1064 100644 --- a/.gitea/workflows/00-someaction.yaml +++ b/.gitea/workflows/00-someaction.yaml @@ -22,11 +22,14 @@ jobs: run: whoami - name: Test CI action command 3 run: cat /etc/os-release + - name: Test CI action command 4 + run: env - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: List files in the repository run: | ls ${{ gitea.workspace }} + docker info - run: echo "🍏 This job's status is ${{ job.status }}." cd-flow: @@ -47,9 +50,12 @@ jobs: run: whoami - name: Test CD action command 3 run: cat /etc/os-release + - name: Test CD action command 4 + run: env - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: List files in the repository run: | ls ${{ gitea.workspace }} + docker ps -a - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file diff --git a/.gitea/workflows/01-demo.yaml b/.gitea/workflows/01-demo.yaml index 8a5eb60..1b52d71 100644 --- a/.gitea/workflows/01-demo.yaml +++ b/.gitea/workflows/01-demo.yaml @@ -22,6 +22,8 @@ jobs: run: whoami - name: Test CI action command 3 run: cat /etc/os-release + - name: Test CI action command 4 + run: env - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: List files in the repository @@ -47,6 +49,8 @@ jobs: run: whoami - name: Test CD action command 3 run: cat /etc/os-release + - name: Test CD action command 4 + run: env - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: List files in the repository diff --git a/README.md b/README.md index edda3b4..b6ad3c7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # gitea-runner +https://docs.gitea.com/usage/actions/quickstart?_highlight=event_name/usage/actions/quickstart#use-actions \ No newline at end of file