From d63e878df958a5b845b5c08cb369c10f11691a6f Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Wed, 6 Mar 2024 20:17:17 -0500 Subject: [PATCH] inspect env --- lib/setup-julia.js | 3 ++- src/setup-julia.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/setup-julia.js b/lib/setup-julia.js index 321249b0..d028e451 100644 --- a/lib/setup-julia.js +++ b/lib/setup-julia.js @@ -67,7 +67,8 @@ function run() { } // Inputs const versionInput = core.getInput('version'); - core.debug(`raw version: ${versionInput} type: ${typeof versionInput}`); + core.debug(`getInput version: ${versionInput} type: ${typeof versionInput}`); + core.debug(`env version: ${process.env[`INPUT_VERSION`]} type: ${typeof process.env[`INPUT_VERSION`]}`); const includePrereleases = core.getInput('include-all-prereleases') == 'true'; const originalArchInput = core.getInput('arch'); // It can easily happen that, for example, a workflow file contains an input `version: ${{ matrix.julia-version }}` diff --git a/src/setup-julia.ts b/src/setup-julia.ts index 5e9774e7..22e3d100 100644 --- a/src/setup-julia.ts +++ b/src/setup-julia.ts @@ -40,7 +40,8 @@ async function run() { // Inputs const versionInput = core.getInput('version') - core.debug(`raw version: ${versionInput} type: ${typeof versionInput}`) + core.debug(`getInput version: ${versionInput} type: ${typeof versionInput}`) + core.debug(`env version: ${process.env[`INPUT_VERSION`]} type: ${typeof process.env[`INPUT_VERSION`]}`) const includePrereleases = core.getInput('include-all-prereleases') == 'true' const originalArchInput = core.getInput('arch')