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 2222 with :
2323 dotnet-version : ${{ vars.DOTNET_VERSION }}
2424 - 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 }}
2626 - name : Upload
2727 uses : actions/upload-artifact@v4
2828 with :
4242 with :
4343 dotnet-version : ${{ vars.DOTNET_VERSION }}
4444 - 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
4646 - name : Upload
4747 uses : actions/upload-artifact@v4
4848 with :
6565 with :
6666 name : build
6767 - 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 }}
6969 - name : Upload
7070 uses : actions/upload-artifact@v4
7171 with :
You can’t perform that action at this time.
0 commit comments