diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83b31b667e..1d12416d1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -382,7 +382,8 @@ "name": "Download build artifacts", "uses": "actions/download-artifact@v2", "with": { - "name": "build-linux-release" + "name": "build-linux-release", + "path": "target/release/" } }, { @@ -450,7 +451,8 @@ "name": "Download build artifacts", "uses": "actions/download-artifact@v2", "with": { - "name": "build-linux-debug" + "name": "build-linux-debug", + "path": "target/debug/" } }, { @@ -518,7 +520,8 @@ "name": "Download build artifacts", "uses": "actions/download-artifact@v2", "with": { - "name": "build-macos-release" + "name": "build-macos-release", + "path": "target/release/" } }, { @@ -586,7 +589,8 @@ "name": "Download build artifacts", "uses": "actions/download-artifact@v2", "with": { - "name": "build-windows-release" + "name": "build-windows-release", + "path": "target/release/" } }, { diff --git a/tools/gen_workflow_yml.ts b/tools/gen_workflow_yml.ts index d319130793..a64cc1a745 100644 --- a/tools/gen_workflow_yml.ts +++ b/tools/gen_workflow_yml.ts @@ -189,7 +189,10 @@ function downloadBuildCache(os: string, kind: string): unknown[] { { name: "Download build artifacts", uses: "actions/download-artifact@v2", - with: { name: `build-${os}-${kind}` }, + with: { + name: `build-${os}-${kind}`, + path: `target/${kind}/`, + }, }, ...(os != "windows" ? [