From b89ab3d23239bd1dd737c306ba6c6f6545909915 Mon Sep 17 00:00:00 2001 From: Prashant Raj Date: Mon, 9 Sep 2024 10:11:33 +0530 Subject: [PATCH] chore: add snapshot key reference (#19) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b419a4a..35da5f1 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ Invoking the action creates the snapshot of the runner. To use the snapshot in subsequent runs, specify the snapshot alias in the `runs-on` field of the job as shown above. +If the runner machine is made from a snapshot, it will have an environment +variable `WARPBUILD_SNAPSHOT_KEY` set to the alias of the snapshot. + ### Inputs - **alias** (Required): A unique alias for the snapshot. This helps identify and