Version 13.0.116 (Merge develop into v13 (#2413) * Fixes #2383 Align with new IParameterFactory.CreateDistributedParameter contract (#2384) OSPSuite.Core's CreateDistributedParameter now pre-creates the sub-parameters referenced by the distribution formula (Mean, Deviation/GeometricDeviation/Minimum/Maximum, Percentile). This requires MoBi's three callers of the mapper/factory to be adjusted so they no longer add duplicate sub-parameters or apply the value redundantly. PathAndValueEntityToDistributedP... #116
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Publish V13 | |
| run-name: Version 13.0.${{ github.run_number }} (${{ github.event.head_commit.message }}) | |
| on: | |
| push: | |
| branches: | |
| - v13 | |
| permissions: | |
| packages: write | |
| jobs: | |
| build-test-publish: | |
| runs-on: ${{ vars.GHA_DEFAULT_RUNNER_WINDOWS || 'windows-latest' }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: 'true' | |
| - name: Add GitHub feed | |
| run: | | |
| nuget sources add -username Open-Systems-Pharmacology -password ${{ secrets.GITHUB_TOKEN }} -name OSP-GitHub-Packages -source "https://nuget.pkg.github.com/Open-Systems-Pharmacology/index.json" | |
| - name: define env variables | |
| run: | | |
| echo "APP_VERSION=13.0.${{ github.run_number }}" | Out-File -FilePath $env:GITHUB_ENV -Append | |
| - name: Build | |
| env: | |
| DevExpress_License: ${{ secrets.DEV_EXPRESS_KEY }} | |
| run: dotnet build MoBi.sln -p:Version=${{env.APP_VERSION}} -p:ExcludeDesigner=true | |
| - name : Test | |
| run: dotnet test MoBi.sln -v normal --no-build --logger:"html;LogFileName=testLog_Windows.html" | |
| - name: Pack the project | |
| run: dotnet pack .\MoBi.sln --no-build --no-restore -o ./ -p:PackageVersion=${{env.APP_VERSION}} --configuration=Debug | |
| - name: Push test log as artifact | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: testLog_Windows | |
| path: ./**/testLog*.html | |
| - name: Publish to GitHub registry | |
| run: dotnet nuget push *.nupkg --source https://nuget.pkg.github.com/${{github.repository_owner}}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} |