From a65441cf46f2c230107dcdd6137795e0a4c45a7d Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Fri, 18 Oct 2019 15:35:13 -0400 Subject: [PATCH] bump core for release and docs (#189) --- docs/commands.md | 8 ++++++++ packages/core/RELEASES.md | 4 ++++ packages/core/package.json | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/commands.md b/docs/commands.md index 5af0787e..c2afff9a 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -100,6 +100,14 @@ function startGroup(name: string): void {} function endGroup(): void {} ``` +### Save State + +Save state to be used in the corresponding wrapper (finally) post job entry point. + +```bash +echo ::save-state name=FOO::foovalue +``` + ### Log Level Finally, there are several commands to emit different levels of log output: diff --git a/packages/core/RELEASES.md b/packages/core/RELEASES.md index 48f58a2b..30c8e205 100644 --- a/packages/core/RELEASES.md +++ b/packages/core/RELEASES.md @@ -1,5 +1,9 @@ # @actions/core Releases +### 1.2.0 + +- saveState and getState functions for wrapper tasks (on finally entry points that run post job) + ### 1.1.3 - setSecret added to register a secret with the runner to be masked from the logs diff --git a/packages/core/package.json b/packages/core/package.json index a08bded8..b66c5bae 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.1.3", + "version": "1.2.0", "description": "Actions core lib", "keywords": [ "github",