diff --git a/dist/index.js b/dist/index.js index 93f153b..5b288d1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -16019,13 +16019,13 @@ The following characters are not allowed in files that are uploaded due to limit listEnumValues: ()=>listEnumValues, assertNever: ()=>assert.xb, mergeBinaryOptions: ()=>binary_format_contract.Ix, - reflectionScalarDefault: ()=>reflectionScalarDefault, lowerCamelCase: ()=>lower_camel_case.W, PbULong: ()=>PbULong, LongType: ()=>reflection_info_LongType, MessageType: ()=>MessageType, ScalarType: ()=>reflection_info_ScalarType, readFieldOptions: ()=>readFieldOptions, + reflectionScalarDefault: ()=>reflectionScalarDefault, WireType: ()=>binary_format_contract.O0, containsMessageType: ()=>containsMessageType, listEnumNumbers: ()=>listEnumNumbers, @@ -95662,9 +95662,8 @@ var __webpack_exports__ = {}; const relativePath = external_path_default().relative(process.cwd(), targetFilePath); const pathParts = relativePath.split(external_path_default().sep); const fileNameWithoutExt = external_path_default().parse(fileName).name; - const fileExt = external_path_default().parse(fileName).ext; const pathHash = hashPath(pathParts, fileNameWithoutExt); - const artifactName = `${pathHash}-${hash}${fileExt}`; + const artifactName = `${pathHash}-${hash}`; console.log(`Uploading artifact: ${artifactName}`); console.log(`From file: ${targetFilePath}`); const uploadResponse = await artifactClient.uploadArtifact(artifactName, [ @@ -96132,7 +96131,8 @@ var __webpack_exports__ = {}; const fileNameWithoutExt = external_path_default().parse(fileName).name; const fileExt = external_path_default().parse(fileName).ext; const pathHash = hashPath(pathParts, fileNameWithoutExt); - const expectedArtifactName = `${pathHash}-${commitHash}${fileExt}`; + const expectedArtifactName = `${pathHash}-${commitHash}`; + const legacyArtifactName = `${pathHash}-${commitHash}${fileExt}`; console.log(`📋 Searching for artifact with path hash and commit hash: ${expectedArtifactName}`); console.log(` Path hash: ${pathHash}`); console.log(` File path: ${relativePath}`); @@ -96147,7 +96147,7 @@ var __webpack_exports__ = {}; console.log(` Status: ${workflowRun.status}, Conclusion: ${workflowRun.conclusion}`); try { const runArtifacts = await githubService.listArtifactsForWorkflowRun(workflowRun.id); - const foundArtifact = runArtifacts.artifacts?.find((a)=>a.name === expectedArtifactName); + const foundArtifact = runArtifacts.artifacts?.find((a)=>a.name === expectedArtifactName || a.name === legacyArtifactName); if (foundArtifact) { artifact = foundArtifact; artifacts = runArtifacts; @@ -96173,7 +96173,7 @@ var __webpack_exports__ = {}; } if (!artifact) { artifacts = await githubService.listArtifacts(); - artifact = artifacts.artifacts.find((a)=>a.name === expectedArtifactName); + artifact = artifacts.artifacts.find((a)=>a.name === expectedArtifactName || a.name === legacyArtifactName); } if (!artifact) { console.log(`❌ No artifact found matching: ${expectedArtifactName}`); diff --git a/examples/rsbuild-demo2/src/App.tsx b/examples/rsbuild-demo2/src/App.tsx index bfaada1..5d971e8 100644 --- a/examples/rsbuild-demo2/src/App.tsx +++ b/examples/rsbuild-demo2/src/App.tsx @@ -38,21 +38,6 @@ const App = () => {
Full support for React 18+ with concurrent features.
- -Rsbuild provides lightning-fast build times with modern tooling.
-Built-in TypeScript support with excellent developer experience.
-Full support for React 18+ with concurrent features.
-