From d335e67920573e3cc4931e3486a2605ebe1bb110 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 15 Jul 2022 11:10:03 -0700 Subject: [PATCH] Retitle cachekey step --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 9321b72..5bf7643 100644 --- a/action.yml +++ b/action.yml @@ -49,7 +49,7 @@ runs: shell: bash - id: rustc-version run: | - : set outputs + : create cachekey DATE=$(rustc --version --verbose | sed -ne 's/^commit-date: \(20[0-9][0-9]\)-\([01][0-9]\)-\([0-3][0-9]\)$/\1\2\3/p') HASH=$(rustc --version --verbose | sed -ne 's/^commit-hash: //p') echo "::set-output name=cachekey::$(echo $DATE$HASH | head -c12)"