Files
Simpsons_generator/.gitea/workflows/dotnetbuild_runner.yaml
T
pi-ux-ce c42f10051d
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m39s
update dotnet version
2024-11-04 11:53:24 +00:00

30 lines
939 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Test with dotnet
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
- name: Upload dotnet test results
uses: actions/upload-artifact@v4
with:
name: dotnet-results-${{ matrix.dotnet-version }}
path: TestResults-${{ matrix.dotnet-version }}
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}