mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-07-26 00:13:16 +03:00
a049f01838
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com> Co-authored-by: Srikrishna Iyer <srikrishna.iyer@hashicorp.com>
17 lines
377 B
JavaScript
17 lines
377 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2019, 2026
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
const core = require('@actions/core');
|
|
const { exportSecrets } = require('./action');
|
|
|
|
(async () => {
|
|
try {
|
|
await core.group('Get Vault Secrets', exportSecrets);
|
|
} catch (error) {
|
|
core.setOutput("errorMessage", error.message);
|
|
core.setFailed(error.message);
|
|
}
|
|
})();
|