Skip to content

Commit

Permalink
Merge pull request #58 from SpicyPizza/fix-github-workspace-override
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelOnFira committed Jun 16, 2023
2 parents 647f21a + c1fbbe7 commit f26dab7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function run(): Promise<void> {

const directory = core.getInput('directory') || ''
const fileName = core.getInput('file_name') || '.env'
let filePath = process.env['GITHUB_WORKSPACE'] || '/github/workspace'
let filePath = process.env['GITHUB_WORKSPACE'] || '.'

if (filePath === '' || filePath === 'None') {
filePath = '.'
Expand Down

0 comments on commit f26dab7

Please sign in to comment.