Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

Keep release tool checkouts outside product source provenance

Yuechen Lia22ead93afd0
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 140eaafc..b2231d93 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -97,16 +97,16 @@ jobs:
with:
repository: yuechen-li-dev/tspack
ref: 01051b791cf83757a1c419ef7bc276d9de787a9d # scoped tools, local dependencies and explicit shared runtime providers
- path: .release-tools/tspack
+ path: artifacts/local/release-tools/tspack
persist-credentials: false
- uses: actions/setup-go@v5
with:
- go-version-file: .release-tools/tspack/go.mod
- cache-dependency-path: .release-tools/tspack/go.sum
+ go-version-file: artifacts/local/release-tools/tspack/go.mod
+ cache-dependency-path: artifacts/local/release-tools/tspack/go.sum
- name: Build pinned TSPack
shell: pwsh
run: |
- $source = Resolve-Path '.release-tools/tspack'
+ $source = Resolve-Path 'artifacts/local/release-tools/tspack'
Push-Location "$source/manifest-frontend"
try {
npm install --no-package-lock
diff --git a/scripts/qualify-cadmata-portable.mts b/scripts/qualify-cadmata-portable.mts
index 13a1ff50..6e956b3f 100644
--- a/scripts/qualify-cadmata-portable.mts
+++ b/scripts/qualify-cadmata-portable.mts
@@ -20,6 +20,8 @@ await new Promise<void>((resolve, reject) => {
const debugPort = Number(process.env.CADMATA_QUALIFICATION_DEBUG_PORT ?? (reservation.address() as { port: number }).port);
await new Promise<void>(resolve => reservation.close(() => resolve()));
const metadata = JSON.parse(await readFile(join(packageDirectory, "BUILD-METADATA.json"), "utf8"));
+if (process.env.GITHUB_ACTIONS === "true")
+ assert.equal(metadata.modifiedSource, false, "Hosted release must identify clean product source; keep generated build tools under ignored artifacts");
const executableSha256 = createHash("sha256").update(await readFile(join(packageDirectory, "Cadmata.exe"))).digest("hex");
const started = Date.now();
const app = spawn(join(packageDirectory, "Cadmata.exe"), startupFile ? [startupFile] : [], {