feat(ci): experiment with building Windows on same runner

This commit is contained in:
Elian Doran
2025-06-21 10:48:23 +03:00
parent 3a50ffede1
commit ce305f0f45
2 changed files with 63 additions and 8 deletions

View File

@@ -214,9 +214,9 @@ const config: ForgeConfig = {
},
// Gather all the artifacts produced by the makers and copy them to a common upload directory.
async postMake(_, makeResults) {
const outputDir = path.join(__dirname, "..", "upload");
fs.mkdirpSync(outputDir);
for (const makeResult of makeResults) {
const outputDir = path.join(__dirname, "..", "upload", makeResult.arch);
fs.mkdirpSync(outputDir);
for (const artifactPath of makeResult.artifacts) {
// Ignore certain artifacts.
let fileName = path.basename(artifactPath);