diff --git a/package.json b/package.json index 588dd91..3a2b7d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.0.0", + "version": "1.0.1", "description": "Actions core lib", "keywords": [ "github", diff --git a/src/core.ts b/src/core.ts index 64ec017..d67eccd 100644 --- a/src/core.ts +++ b/src/core.ts @@ -46,6 +46,9 @@ export function exportVariable(name: string, val: string): void { */ export function exportSecret(name: string, val: string): void { exportVariable(name, val) + // the runner will error with not implemented. + // leaving the function but raising the error earlier + throw new Error("Not implemented."); issueCommand('set-secret', {}, val) }