File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
with :
23
23
dotnet-version : ${{ vars.DOTNET_VERSION }}
24
24
- name : Build
25
- run : dotnet build ./src/**/*.csproj --configuration Release /p:Platform=AnyCPU
25
+ run : dotnet build ./src/**/*.csproj --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }}
26
26
- name : Upload
27
27
uses : actions/upload-artifact@v4
28
28
with :
42
42
with :
43
43
dotnet-version : ${{ vars.DOTNET_VERSION }}
44
44
- name : Test
45
- 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
45
+ run : dotnet test ./tests/**/*Tests.csproj --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }} --verbosity normal --settings unit-test.runsettings --logger trx --collect:"Code Coverage" --results-directory test-results
46
46
- name : Upload
47
47
uses : actions/upload-artifact@v4
48
48
with :
65
65
with :
66
66
name : build
67
67
- name : Pack
68
- run : dotnet pack ./src/**/*.csproj --no-build --no-restore --configuration Release /p:Platform=AnyCPU
68
+ run : dotnet pack ./src/**/*.csproj --no-build --no-restore --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }}
69
69
- name : Upload
70
70
uses : actions/upload-artifact@v4
71
71
with :
You can’t perform that action at this time.
0 commit comments