Skip to content

Lightpanda: the headless browser designed for AI and automation

ci: Include v8 version in Snapshot cache key

Karl Seguin0c1bb406c096
diff --git a/.github/actions/v8-snapshot/action.yml b/.github/actions/v8-snapshot/action.yml
index d14966b2e..ff797abcb 100644
--- a/.github/actions/v8-snapshot/action.yml
+++ b/.github/actions/v8-snapshot/action.yml
@@ -10,6 +10,10 @@ inputs:
description: 'OS used to select the v8 lib'
required: false
default: 'linux'
+ zig-v8:
+ description: 'zig-v8 release tag the prebuilt lib came from'
+ required: false
+ default: 'v0.4.7'
runs:
using: "composite"
@@ -19,7 +23,7 @@ runs:
# snapshot.
- name: V8 snapshot cache key
id: snapshot_cache_key
- run: echo "hash=v8-snapshot-${{ inputs.os }}_${{ inputs.arch }}-$(git log -n 1 --pretty=format:%H --
+ run: echo "hash=v8-snapshot-${{ inputs.os }}_${{ inputs.arch }}-${{ inputs.zig-v8 }}-$(git log -n 1 --pretty=format:%H --
src/browser/js/bridge.zig
src/browser/js/Snapshot.zig
src/browser/webapi