Skip to content

Commit 884e64c

Browse files
Update and rename tests.yml to release-and-publish.yml
1 parent 507a500 commit 884e64c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/tests.yml renamed to .github/workflows/release-and-publish.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test CI
1+
name: Worflow CI
22
on: [push, pull_request]
33
jobs:
44
build:
@@ -7,7 +7,7 @@ jobs:
77
fail-fast: false
88
matrix:
99
os: [ubuntu-latest]
10-
net-version: ['6.x','7.x','8.x']
10+
net-version: ['8.x']
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Setup .NET 8.x
@@ -18,5 +18,15 @@ jobs:
1818
run: dotnet restore
1919
- name: Build
2020
run: dotnet build
21+
test:
22+
needs: [build]
23+
runs-on: ${{matrix.os}}
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
os: [ubuntu-latest]
28+
net-version: ['8.x']
29+
steps:
30+
- uses: actions/checkout@v4
2131
- name: Test
2232
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.net-version }}"

0 commit comments

Comments
 (0)