0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

ci: fix rusty_v8 binary download unavailable (#7898)

A recent change in rustc or cargo made it so that rusty_v8's `build.rs`,
which is responsible for downloading `librusty_v8.a`, does not get
rebuilt or re-run when its build output directory is restored from the
Github Actions cache.

However, rusty_v8's custom build script does not save the download to
its build output directory; it puts the file in
`target/debug|release/gn_out/obj` instead.

To get CI going again we opted to add `target/*/gn_out` to the Github
Actions cache.

A more robust fix would be make rusty_v8 save the download to the
cargo-designated output directory.
This commit is contained in:
Bert Belder 2020-10-09 14:42:03 +02:00
parent 2ae59318ee
commit f911dc3afe
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -114,6 +114,7 @@ jobs:
target/*/.*
target/*/build
target/*/deps
target/*/gn_out
key: deno-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
deno-${{ matrix.os }}-${{ matrix.kind }}-