Skip to content

Copy TaskConverter3 from RestClient #21

Copy TaskConverter3 from RestClient

Copy TaskConverter3 from RestClient #21

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '8.0.x', '9.0.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
id: stepid
with:
dotnet-version: ${{ matrix.dotnet-version }}
# - name: Create temporary global.json
# run: echo '{"sdk":{"version":"${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json
- name: Display dotnet version
run: dotnet --version
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build
# - name: Archive test results
# uses: actions/upload-artifact@v4
# if: always()
# with:
# name: TestResults
# path: |
# /home/runner/work/Activout.DatabaseClient/Activout.DatabaseClient/Activout.DatabaseClient.Test/TestResults/