build 3
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
2026-04-05 01:05:46 -04:00
parent 4bf94c733a
commit 977fc0f85a

View File

@@ -1,43 +1,19 @@
name: Validate dotnet name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on: on: [push]
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- master
- releases/*
paths-ignore:
- '**.md'
jobs: jobs:
setup-version: Explore-Gitea-Actions:
runs-on: ${{ matrix.operating-system }} runs-on: ubuntu-latest
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']
steps: steps:
- name: Checkout - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
uses: actions/checkout@v6 - run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- name: Clear toolcache - run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
shell: pwsh - name: Check out repository code
run: __tests__/clear-toolcache.ps1 ${{ runner.os }} uses: actions/checkout@v4
- name: Setup dotnet ${{ matrix.dotnet-version }} - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner."
uses: ./ - run: echo " The workflow is now ready to test your code on the runner."
with: - name: List files in the repository
dotnet-version: ${{ matrix.dotnet-version }}
- name: Verify installed version
shell: pwsh
run: | run: |
__tests__/verify-dotnet.ps1 -Patterns "^${{ matrix.dotnet-version }}" ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."