test cicd
Some checks failed
Build And Test / ci-flow (push) Has been cancelled
Build And Test / cd-flow (push) Has been cancelled
Demo / demo-ci-flow (push) Has been cancelled
Demo / demo-cd-flow (push) Has been cancelled

This commit is contained in:
KLxHunter 2024-12-10 16:10:43 +07:00
parent 8db175e56f
commit 3b3df01bd5
2 changed files with 4 additions and 12 deletions

View File

@ -7,9 +7,7 @@ on:
jobs: jobs:
ci-flow: ci-flow:
runs-on: runs-on: ubuntu:latest
- self-hosted
- "${{ inputs.chosen-os }}"
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
@ -32,9 +30,7 @@ jobs:
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
cd-flow: cd-flow:
runs-on: runs-on: ubuntu:latest
- self-hosted
- "${{ inputs.chosen-os }}"
needs: build needs: build
if: gitea.ref == 'refs/heads/main' if: gitea.ref == 'refs/heads/main'
steps: steps:

View File

@ -7,9 +7,7 @@ on:
jobs: jobs:
demo-ci-flow: demo-ci-flow:
runs-on: runs-on: ubuntu:latest
- self-hosted
- "${{ inputs.chosen-os }}"
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
@ -32,9 +30,7 @@ jobs:
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
demo-cd-flow: demo-cd-flow:
runs-on: runs-on: ubuntu:latest
- self-hosted
- "${{ inputs.chosen-os }}"
needs: build needs: build
if: gitea.ref == 'refs/heads/main' if: gitea.ref == 'refs/heads/main'
steps: steps: