Skip to content

Commit

Permalink
Update release-and-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SarcasticMoose authored Jun 5, 2024
1 parent aed9b07 commit 98f4319
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
Expand All @@ -24,20 +24,20 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build

test:
needs: build
runs-on: ubuntu-latest
needs : build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
net-version: ['8.x']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup .NET ${{ matrix['net-version'] }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix['net-version'] }}
- name: Test
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.net-version }}"
- name: Upload dotnet test results
uses: actions/upload-artifact@v4
with:
name: dotnet-results-${{ matrix.dotnet-version }}
path: TestResults-${{ matrix.dotnet-version }}
if: ${{ always() }}

0 comments on commit 98f4319

Please sign in to comment.