chore: remove debug lines (#2166)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2024-06-24 10:06:44 -06:00
committed by GitHub
parent 0b99ecfd4e
commit cc733854b1
4 changed files with 2 additions and 34 deletions

View File

@@ -1,5 +1,3 @@
import * as core from '@actions/core'
export type Env = {
GITHUB_REF_NAME: string
GITHUB_REF: string
@@ -7,8 +5,6 @@ export type Env = {
}
export const getEnv = async (): Promise<Env> => {
core.debug(`Env: ${JSON.stringify(process.env, null, 2)}`)
return {
GITHUB_REF_NAME: process.env.GITHUB_REF_NAME || '',
GITHUB_REF: process.env.GITHUB_REF || '',

View File

@@ -234,8 +234,6 @@ export async function run(): Promise<void> {
const inputs = getInputs()
core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`)
core.debug(`Github Context: ${JSON.stringify(github.context, null, 2)}`)
const workingDirectory = path.resolve(
env.GITHUB_WORKSPACE || process.cwd(),
inputs.useRestApi ? '.' : inputs.path