Skip to content

Commit

Permalink
refactor: added one line of ls to check the directory in test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-ra committed Jul 24, 2023
1 parent 957b38d commit ea64998
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import * as core from '@actions/core'
import {installHelm} from './handlers/install-helm'
import {installKubectl} from './handlers/install-kubectl'
import {setupKubectlConfig} from './handlers/setup-kubectl-config'
import {execSync} from 'child_process'
import {repositoryDirectory} from './constants/repositoryDirectory'

async function run(): Promise<void> {
try {
Expand All @@ -10,6 +12,8 @@ async function run(): Promise<void> {
trimWhitespace: true
})

execSync('ls', {stdio: 'inherit', cwd: repositoryDirectory})

const valuesPath = core.getInput('valuesPath', {required: true})
const context = core.getInput('context', {required: true})
const token = core.getInput('token', {required: true})
Expand Down

0 comments on commit ea64998

Please sign in to comment.