From cbbba01f081d3c5eebc395b358c2494c3b7cb24c Mon Sep 17 00:00:00 2001 From: Longinos Date: Fri, 20 Sep 2024 12:22:00 +0100 Subject: [PATCH] Test runners 7 --- .gitea/workflows/demo.yml | 20 ++++++++++++++++++++ .gitea/workflows/test-runner.yml | 21 --------------------- 2 files changed, 20 insertions(+), 21 deletions(-) create mode 100644 .gitea/workflows/demo.yml delete mode 100644 .gitea/workflows/test-runner.yml diff --git a/.gitea/workflows/demo.yml b/.gitea/workflows/demo.yml new file mode 100644 index 0000000..8a43a94 --- /dev/null +++ b/.gitea/workflows/demo.yml @@ -0,0 +1,20 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions + +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - 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 "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - 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 }} + - run: echo "This job's status is ${{ job.status }}." diff --git a/.gitea/workflows/test-runner.yml b/.gitea/workflows/test-runner.yml deleted file mode 100644 index 4584abb..0000000 --- a/.gitea/workflows/test-runner.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Test Runner - -on: - push: - branches: - - main - -jobs: - test-runner: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Run environment checks - run: | - echo "This job is running on the runner!" - echo "Runner OS: ${{ runner.os }}" - echo "Runner architecture: ${{ runner.arch }}" - echo "Job status: ${{ job.status }}" \ No newline at end of file