summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.generate.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-06-08 15:27:31 -0400
committerGitHub <noreply@github.com>2023-06-08 15:27:31 -0400
commit524e4264573cd30a9bc3db28f44cf2b62e867dfa (patch)
treeca831ba27aea40f2ef4afbc01d2db591d5713cb2 /.github/workflows/ci.generate.ts
parentc775001466861eda14c037c8bc02706222e62fd5 (diff)
ci: use windows-xl runner for `--release` on main (#19429)
Diffstat (limited to '.github/workflows/ci.generate.ts')
-rwxr-xr-x.github/workflows/ci.generate.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index f6c94441b..cedf91b6c 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -10,6 +10,8 @@ const cacheVersion = 36;
const Runners = (() => {
const ubuntuRunner = "ubuntu-22.04";
const ubuntuXlRunner = "ubuntu-22.04-xl";
+ const windowsRunner = "windows-2022";
+ const windowsXlRunner = "windows-2022-xl";
return {
ubuntuXl:
@@ -17,7 +19,9 @@ const Runners = (() => {
ubuntu: ubuntuRunner,
linux: ubuntuRunner,
macos: "macos-12",
- windows: "windows-2022",
+ windows: windowsRunner,
+ windowsXl:
+ `\${{ github.repository == 'denoland/deno' && '${windowsXlRunner}' || '${windowsRunner}' }}`,
};
})();
const prCacheKeyPrefix =
@@ -320,7 +324,7 @@ const ci = {
job: "test",
profile: "debug",
}, {
- os: Runners.windows,
+ os: Runners.windowsXl,
job: "test",
profile: "release",
skip_pr: true,