diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-01-12 16:19:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-12 16:19:35 +0100 |
| commit | 1776dca6c784ac399a4414c01ea737171558f809 (patch) | |
| tree | cc7d58cda19c3b5d229cdd960891fcb3bb53dd31 /.github/mtime_cache | |
| parent | 4d66be1e056a2c33e0f793af42d6eb99b7246c1d (diff) | |
ci: update Windows runner, update Google Cloud integration, update Node (#17358)
This commit rolls up following PRs into a single one:
- https://github.com/denoland/deno/pull/16672
- https://github.com/denoland/deno/pull/16674
- https://github.com/denoland/deno/pull/16972
Generation script was updated to take into account these changes.
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Geert-Jan Zwiers <geertjanzwiers@protonmail.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to '.github/mtime_cache')
| -rw-r--r-- | .github/mtime_cache/action.js | 9 | ||||
| -rw-r--r-- | .github/mtime_cache/action.yml | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/.github/mtime_cache/action.js b/.github/mtime_cache/action.js index 37b957a74..4d4c961f7 100644 --- a/.github/mtime_cache/action.js +++ b/.github/mtime_cache/action.js @@ -3,15 +3,10 @@ // Node.js v12.x to run actions, so this is Node code and not Deno code. const { spawn } = require("child_process"); +const fs = require("fs"); +const { utimes, mkdir, readFile, writeFile } = require("fs/promises"); const { dirname, resolve } = require("path"); const { StringDecoder } = require("string_decoder"); -const { promisify } = require("util"); - -const fs = require("fs"); -const utimes = promisify(fs.utimes); -const mkdir = promisify(fs.mkdir); -const readFile = promisify(fs.readFile); -const writeFile = promisify(fs.writeFile); process.on("unhandledRejection", abort); main().catch(abort); diff --git a/.github/mtime_cache/action.yml b/.github/mtime_cache/action.yml index 20e7b251f..f69085514 100644 --- a/.github/mtime_cache/action.yml +++ b/.github/mtime_cache/action.yml @@ -7,4 +7,4 @@ inputs: required: true runs: main: action.js - using: node12 + using: node16 |
