Skip to content

Commit

Permalink
Fix #290 - Set kubeconfig_path output (#292)
Browse files Browse the repository at this point in the history
Closes
#291
Fixes
#290

Co-authored-by: Michael Pilat <[email protected]>
  • Loading branch information
sethvargo and mikepilat authored Jan 4, 2024
1 parent 1111597 commit a3d0033
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
debug as logDebug,
info as logInfo,
setFailed,
setOutput,
} from '@actions/core';
import {
errorMessage,
Expand Down Expand Up @@ -139,6 +140,7 @@ async function run(): Promise<void> {

exportVariable('KUBECONFIG', kubeConfigPath);
exportVariable('KUBE_CONFIG_PATH', kubeConfigPath);
setOutput('kubeconfig_path', kubeConfigPath);
logInfo(`Successfully created and exported "KUBECONFIG" at: ${kubeConfigPath}`);
} catch (err) {
const msg = errorMessage(err);
Expand Down

0 comments on commit a3d0033

Please sign in to comment.