Version 13.0.113 (Fixes #2404 Route headless PK-Sim-module snapshot loading through PKSim.R.Exchange (#2405) * Fixes #2404 Route headless PK-Sim-module snapshot loading through PKSim.R.Exchange Separate the PK-Sim snapshot exchange from the rest of the PK-Sim loader so the implementation can be chosen per host: - IPKSimSnapshotConverter (the snapshot Load* methods) + abstract PKSimSnapshotConverterBase holding the shared reflection/serialization logic; the only variation point is the exchange type... #113
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 }} |