Skip to content

Commit 8f1af64

Browse files
authored
Merge pull request #6 from DNemtsov/update-build-pipeline
Fixed path for testing
2 parents c4a3f00 + 6f83c09 commit 8f1af64

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/test-and-publish.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,26 @@ jobs:
1414
timeout-minutes: 30
1515
strategy:
1616
fail-fast: false
17-
matrix:
18-
dotnet-version: ['8.0.x', '9.0.x', '10.0.x']
1917

2018
steps:
2119
- name: Checkout
2220
uses: actions/checkout@v6
2321

24-
- name: Setup .NET ${{ matrix.dotnet-version }}
22+
- name: Setup .NET
2523
uses: actions/setup-dotnet@v5
2624
with:
27-
dotnet-version: ${{ matrix.dotnet-version }}
25+
dotnet-version: |
26+
8.0.x
27+
9.0.x
28+
10.0.x
2829
cache: true
2930
cache-dependency-path: "**/packages.lock.json"
3031

3132
- name: Restore
32-
run: dotnet restore --locked-mode
33+
run: dotnet restore .\Lexepars.sln --locked-mode
3334

3435
- name: Test
35-
run: dotnet test -c Release --no-restore
36+
run: dotnet test .\Lexepars.sln -c Release --no-restore
3637

3738
pack-and-upload:
3839
needs: test
@@ -49,11 +50,8 @@ jobs:
4950
cache: true
5051
cache-dependency-path: "**/packages.lock.json"
5152

52-
- name: Restore
53-
run: dotnet restore --locked-mode
54-
5553
- name: Pack
56-
run: dotnet pack -c Release --no-restore -o ./artifacts
54+
run: dotnet pack .\Lexepars.sln -c Release -o ./artifacts
5755
-p:IncludeSymbols=true
5856
-p:SymbolPackageFormat=snupkg
5957

0 commit comments

Comments
 (0)