Version 13.0.117 (Remove dead code (#2412) * Remove dead code Remove unused C# types, members, mappers, and self-contained presenter/view clusters (with their orphaned .resx), and inline the single-use EditBuildingBlockStarter pass-through into ModuleExplorerPresenter. No functional change; build and MoBi unit/UI/R test suites green. * Rename stale test observation to match its assertion The molecule double-click test kept the context-menu observation name copied from the sibling test; it actually ve... #117
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 }} |