Skip to content

Commit 517bbfe

Browse files
author
Petr Sramek
committed
fixed platform arg
1 parent a5cf325 commit 517bbfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
dotnet-version: 9.x
1919
- name: Build
20-
run: dotnet build ./src/**/*.csproj --configuration Release --Platform AnyCPU
20+
run: dotnet build ./src/**/*.csproj --configuration Release /p:Platform AnyCPU
2121
- name: Upload
2222
uses: actions/upload-artifact@v4
2323
with:
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
dotnet-version: 9.x
3939
- name: Test
40-
run: dotnet test ./tests/**/*Tests.csproj --configuration Release --Platform AnyCPU --verbosity normal --settings unit-test.runsettings --logger trx --collect:"Code Coverage" --results-directory test-results
40+
run: dotnet test ./tests/**/*Tests.csproj --configuration Release /p:Platform AnyCPU --verbosity normal --settings unit-test.runsettings --logger trx --collect:"Code Coverage" --results-directory test-results
4141
- name: Upload
4242
uses: actions/upload-artifact@v4
4343
with:
@@ -62,7 +62,7 @@ jobs:
6262
- name: Display structure of downloaded files
6363
run: ls -R
6464
- name: Pack
65-
run: dotnet pack ./src/**/*.csproj --no-build --no-restore --configuration Release --Platform AnyCPU
65+
run: dotnet pack ./src/**/*.csproj --no-build --no-restore --configuration Release /p:Platform AnyCPU
6666
- name: Display structure of after pack
6767
run: ls -R
6868
- name: Upload

0 commit comments

Comments
 (0)