Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Allow focused artifact diagnostics through the registered release workflow
Yuechen Li1e89aa4931e0
diff --git a/.github/workflows/cadmata-desktop-diagnostic.yml b/.github/workflows/cadmata-desktop-diagnostic.ymlindex cadca5e6..4ed29b5c 100644--- a/.github/workflows/cadmata-desktop-diagnostic.yml+++ b/.github/workflows/cadmata-desktop-diagnostic.yml@@ -1,6 +1,11 @@name: Diagnose an existing Cadmata release artifacton:+ workflow_call:+ inputs:+ run_id:+ type: number+ required: trueworkflow_dispatch:inputs:run_id:diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.ymlindex b2231d93..87f72b60 100644--- a/.github/workflows/dotnet.yml+++ b/.github/workflows/dotnet.yml@@ -11,12 +11,17 @@ on:description: Publish the qualified release candidatetype: booleandefault: false+ diagnostic_run_id:+ description: Diagnose an existing release artifact without rebuilding it (0 runs full qualification)+ type: number+ default: 0env:MSBUILDDISABLENODEREUSE: '1'jobs:build-test:+ if: ${{ !inputs.diagnostic_run_id }}runs-on: ubuntu-lateststeps:@@ -81,7 +86,7 @@ jobs:release-build:outputs:version: ${{ steps.version.outputs.version }}- if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'+ if: ${{ !inputs.diagnostic_run_id && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') }}runs-on: windows-latestpermissions:contents: read@@ -243,7 +248,7 @@ jobs:./scripts/Test-PublicPackageConsumer.ps1 -PackageDirectory release/packages/public-libraries -Version $env:AETHERIS_RELEASE_VERSION -OutputDirectory artifacts/local/release-public-consumerpublish:- if: startsWith(github.ref, 'refs/tags/v') || inputs.publish == true+ if: ${{ !inputs.diagnostic_run_id && (startsWith(github.ref, 'refs/tags/v') || inputs.publish == true) }}needs: [build-test, release-build, release-smoke]runs-on: ubuntu-latestenvironment: production@@ -279,3 +284,12 @@ jobs:gh release create "v${RELEASE_VERSION}" --target "$GITHUB_SHA" --repo "${GITHUB_REPOSITORY}" --title "Aetheris ${RELEASE_VERSION}" --latest --notes-file docs/release/${{ needs.release-build.outputs.version }}-notes.md release/Aetheris-*.zip release/aetheris-firmament-*.vsix release/SHA256SUMS.txt release/RELEASE-INVENTORY.md release/packages/*.nupkg release/packages/public-libraries/*.nupkg || \gh release upload "v${RELEASE_VERSION}" --repo "${GITHUB_REPOSITORY}" --clobber release/Aetheris-*.zip release/aetheris-firmament-*.vsix release/SHA256SUMS.txt release/RELEASE-INVENTORY.md release/packages/*.nupkg release/packages/public-libraries/*.nupkggh release edit "v${RELEASE_VERSION}" --repo "${GITHUB_REPOSITORY}" --latest --prerelease=false --notes-file docs/release/${{ needs.release-build.outputs.version }}-notes.md++ desktop-diagnostic:+ if: ${{ inputs.diagnostic_run_id }}+ permissions:+ actions: read+ contents: read+ uses: ./.github/workflows/cadmata-desktop-diagnostic.yml+ with:+ run_id: ${{ inputs.diagnostic_run_id }}