1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
This commit is contained in:
Luca Casonato 2021-03-06 00:54:12 +01:00
parent c4ea185fbf
commit 70a3dd69d0
No known key found for this signature in database
GPG key ID: 789878CF6382A84F
2 changed files with 11 additions and 7 deletions

View file

@ -73,7 +73,7 @@
"uses": "actions/upload-artifact@v2", "uses": "actions/upload-artifact@v2",
"with": { "with": {
"name": "build-linux-release", "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", "uses": "actions/upload-artifact@v2",
"with": { "with": {
"name": "build-linux-debug", "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", "uses": "actions/upload-artifact@v2",
"with": { "with": {
"name": "build-macos-release", "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", "uses": "actions/upload-artifact@v2",
"with": { "with": {
"name": "build-windows-release", "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", "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)", "name": "Test (release)",
@ -457,7 +457,7 @@
}, },
{ {
"name": "Make build artifacts executable", "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)", "name": "Test (debug)",
@ -526,7 +526,7 @@
}, },
{ {
"name": "Make build artifacts executable", "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)", "name": "Test (release)",

View file

@ -172,6 +172,7 @@ function generateBuildJobs(): Record<string, unknown> {
path: [ path: [
`target/${kind}/deno${os == "windows" ? ".exe" : ""}`, `target/${kind}/deno${os == "windows" ? ".exe" : ""}`,
`target/${kind}/denort${os == "windows" ? ".exe" : ""}`, `target/${kind}/denort${os == "windows" ? ".exe" : ""}`,
`target/${kind}/test_server${os == "windows" ? ".exe" : ""}`,
].join("\n"), ].join("\n"),
}, },
}, },
@ -201,6 +202,9 @@ function downloadBuildCache(os: string, kind: string): unknown[] {
run: [ run: [
`chmod +x target/${kind}/deno${os == "windows" ? ".exe" : ""}`, `chmod +x target/${kind}/deno${os == "windows" ? ".exe" : ""}`,
`chmod +x target/${kind}/denort${os == "windows" ? ".exe" : ""}`, `chmod +x target/${kind}/denort${os == "windows" ? ".exe" : ""}`,
`chmod +x target/${kind}/test_server${
os == "windows" ? ".exe" : ""
}`,
].join("\n"), ].join("\n"),
}, },
] ]