Skip to content

Commit 094c154

Browse files
committed
Don't unnecessarily download Shards on Windows
1 parent 8e70ecc commit 094c154

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ async function run() {
3434
params.path = Core.getInput("destination") || Path.join(
3535
process.env["RUNNER_TEMP"], `crystal-${params.crystal}-${params.shards}-${params.arch}`,
3636
);
37-
if (params.shards === Any && getPlatform() === Windows) {
38-
params.shards = Latest;
39-
}
4037
Core.setOutput("path", params.path);
4138

4239
const func = {

0 commit comments

Comments
 (0)