diff --git a/action.yml b/action.yml index dd5dcdb..af5f73f 100644 --- a/action.yml +++ b/action.yml @@ -32,7 +32,8 @@ runs: id: publish env: TOKEN: ${{ github.token }} - who_to_greet: ${{ env.registry }} + who_to_greet: ${{ inputs.registry }} + who_to_greet2: Monalisa - name: Output variables shell: bash run: | diff --git a/dist/index.js b/dist/index.js index bfd72d1..37bc3c4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -74746,6 +74746,8 @@ async function run() { core.info(`Hello, ${whoToGreet}!`); const token2 = process.env.TOKEN; core.info(`Hello, ${token2}!`); + const token3 = process.env.who_to_greet2; + core.info(`Hello, ${token3}!`); // Parse and validate Actions execution context, including the repository name, release name and event type const repository = process.env.GITHUB_REPOSITORY || ''; if (repository === '') { diff --git a/src/main.ts b/src/main.ts index b8f1f37..bfbaa96 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,6 +17,8 @@ export async function run(): Promise { core.info(`Hello, ${whoToGreet}!`) const token2 = process.env.TOKEN core.info(`Hello, ${token2}!`) + const token3 = process.env.who_to_greet2 + core.info(`Hello, ${token3}!`) // Parse and validate Actions execution context, including the repository name, release name and event type const repository: string = process.env.GITHUB_REPOSITORY || ''