Skip to content

Commit f26dab7

Browse files
authored
Merge pull request #58 from SpicyPizza/fix-github-workspace-override
2 parents 647f21a + c1fbbe7 commit f26dab7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function run(): Promise<void> {
2222

2323
const directory = core.getInput('directory') || ''
2424
const fileName = core.getInput('file_name') || '.env'
25-
let filePath = process.env['GITHUB_WORKSPACE'] || '/github/workspace'
25+
let filePath = process.env['GITHUB_WORKSPACE'] || '.'
2626

2727
if (filePath === '' || filePath === 'None') {
2828
filePath = '.'

0 commit comments

Comments
 (0)