From 977fc0f85a0e7d10db1433467225259269e76f1b Mon Sep 17 00:00:00 2001 From: ronnie Date: Sun, 5 Apr 2026 01:05:46 -0400 Subject: [PATCH] build 3 --- .gitea/workflows/test.yml | 54 +++++++++++---------------------------- 1 file changed, 15 insertions(+), 39 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index f97268e..fdc0ca9 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -1,43 +1,19 @@ -name: Validate dotnet - -on: - pull_request: - paths-ignore: - - '**.md' - push: - branches: - - main - - master - - releases/* - paths-ignore: - - '**.md' +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions +on: [push] jobs: - setup-version: - runs-on: ${{ matrix.operating-system }} - strategy: - fail-fast: false - matrix: - operating-system: - [ - ubuntu-latest, - ubuntu-22.04, - windows-latest, - macos-15-intel, - macos-latest - ] - dotnet-version: ['8.0', '9.0', '10.0'] + Explore-Gitea-Actions: + runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v6 - - name: Clear toolcache - shell: pwsh - run: __tests__/clear-toolcache.ps1 ${{ runner.os }} - - name: Setup dotnet ${{ matrix.dotnet-version }} - uses: ./ - with: - dotnet-version: ${{ matrix.dotnet-version }} - - name: Verify installed version - shell: pwsh + - 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: | - __tests__/verify-dotnet.ps1 -Patterns "^${{ matrix.dotnet-version }}" + ls ${{ gitea.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file