From 70a3dd69d01ca9d4f6f203b5b80e0c7236b908c0 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sat, 6 Mar 2021 00:54:12 +0100 Subject: [PATCH] update --- .github/workflows/ci.yml | 14 +++++++------- tools/gen_workflow_yml.ts | 4 ++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d12416d1e..dbd187fc53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ "uses": "actions/upload-artifact@v2", "with": { "name": "build-linux-release", - "path": "target/release/deno\ntarget/release/denort" + "path": "target/release/deno\ntarget/release/denort\ntarget/release/test_server" } }, { @@ -156,7 +156,7 @@ "uses": "actions/upload-artifact@v2", "with": { "name": "build-linux-debug", - "path": "target/debug/deno\ntarget/debug/denort" + "path": "target/debug/deno\ntarget/debug/denort\ntarget/debug/test_server" } } ] @@ -225,7 +225,7 @@ "uses": "actions/upload-artifact@v2", "with": { "name": "build-macos-release", - "path": "target/release/deno\ntarget/release/denort" + "path": "target/release/deno\ntarget/release/denort\ntarget/release/test_server" } }, { @@ -308,7 +308,7 @@ "uses": "actions/upload-artifact@v2", "with": { "name": "build-windows-release", - "path": "target/release/deno.exe\ntarget/release/denort.exe" + "path": "target/release/deno.exe\ntarget/release/denort.exe\ntarget/release/test_server.exe" } }, { @@ -388,7 +388,7 @@ }, { "name": "Make build artifacts executable", - "run": "chmod +x target/release/deno\nchmod +x target/release/denort" + "run": "chmod +x target/release/deno\nchmod +x target/release/denort\nchmod +x target/release/test_server" }, { "name": "Test (release)", @@ -457,7 +457,7 @@ }, { "name": "Make build artifacts executable", - "run": "chmod +x target/debug/deno\nchmod +x target/debug/denort" + "run": "chmod +x target/debug/deno\nchmod +x target/debug/denort\nchmod +x target/debug/test_server" }, { "name": "Test (debug)", @@ -526,7 +526,7 @@ }, { "name": "Make build artifacts executable", - "run": "chmod +x target/release/deno\nchmod +x target/release/denort" + "run": "chmod +x target/release/deno\nchmod +x target/release/denort\nchmod +x target/release/test_server" }, { "name": "Test (release)", diff --git a/tools/gen_workflow_yml.ts b/tools/gen_workflow_yml.ts index a64cc1a745..d0389e0fcd 100644 --- a/tools/gen_workflow_yml.ts +++ b/tools/gen_workflow_yml.ts @@ -172,6 +172,7 @@ function generateBuildJobs(): Record { path: [ `target/${kind}/deno${os == "windows" ? ".exe" : ""}`, `target/${kind}/denort${os == "windows" ? ".exe" : ""}`, + `target/${kind}/test_server${os == "windows" ? ".exe" : ""}`, ].join("\n"), }, }, @@ -201,6 +202,9 @@ function downloadBuildCache(os: string, kind: string): unknown[] { run: [ `chmod +x target/${kind}/deno${os == "windows" ? ".exe" : ""}`, `chmod +x target/${kind}/denort${os == "windows" ? ".exe" : ""}`, + `chmod +x target/${kind}/test_server${ + os == "windows" ? ".exe" : "" + }`, ].join("\n"), }, ]