From 3f3024a6fa918590ac2ed2bbd3a51bfce14fb24b Mon Sep 17 00:00:00 2001 From: Peter Murray <681306+peter-murray@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:50:02 +0000 Subject: [PATCH] Injecting the Actions environment SHA and Ref into the snpashot --- src/executable/cli.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/executable/cli.ts b/src/executable/cli.ts index f913692..0616695 100644 --- a/src/executable/cli.ts +++ b/src/executable/cli.ts @@ -63,6 +63,8 @@ async function execute() { const snapshotConfig: SnapshotConfig = { context, job, + sha: opts.sha, + ref: opts.branchRef, } snapshot = await generateSnapshot(opts.directory, mvnConfig, snapshotConfig);