From 14d6a0a2d2d85ea6532585403f81fcbc16884dfd Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Wed, 18 Sep 2019 14:25:05 -0400 Subject: [PATCH] Implement set-secret (#141) * Implement set-secret * Update RELEASES.md * Feedback --- packages/core/RELEASES.md | 3 ++- packages/core/package-lock.json | 2 +- packages/core/package.json | 2 +- packages/core/src/core.ts | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/RELEASES.md b/packages/core/RELEASES.md index fe65a27b..f6f6bc30 100644 --- a/packages/core/RELEASES.md +++ b/packages/core/RELEASES.md @@ -1,7 +1,8 @@ # @actions/core Releases -### Unreleased +### 1.2.0 +- set-secret is now available for use [#141](https://github.com/actions/toolkit/issues/141) - Add support for action input variables with multiple spaces [#127](https://github.com/actions/toolkit/issues/127) - Switched ## commands to :: commands (should have no noticeable impact) [#110)(https://github.com/actions/toolkit/pull/110) diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 601a131a..3449e3e3 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.0.1", + "version": "1.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/core/package.json b/packages/core/package.json index bca6a699..da520049 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.1.0", + "version": "1.1.1", "description": "Actions core lib", "keywords": [ "github", diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 74e8aacf..072f2323 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -51,7 +51,6 @@ export function exportSecret(name: string, val: string): void { // the runner will error with not implemented // leaving the function but raising the error earlier issueCommand('set-secret', {}, val) - throw new Error('Not implemented.') } /**