env file not being created / GITHUB_WORKSPACE not set
speclechris opened this issue · 9 comments
speclechris commented
name: Create envfile
on: [ push ]
jobs:
create-envfile:
runs-on: ubuntu-latest
steps:
- name: Make envfile
uses: SpicyPizza/create-envfile@v1.3
with:
envkey_SOMETHING: something
I expected this to create the env file within my project directory e.g. /home/runner/work/application-name/application-name/.env
But I get the following:
Creating file: /github/workspace/.env
Only thing I can guess is GITHUB_WORKSPACE isn't set and it's defaulting to this path?
path = str(os.getenv("GITHUB_WORKSPACE", "/github/workspace"))
Deleted user commented
I have the same issue. how can we configure the path? Directory property seems to not be able to overwrite the full path
JuniorMiksza8 commented
I have the same issue, any solution so far ?
rorlich commented
me 2
ianrussel commented
me too
lclarkg18 commented
Same issue here
hayder-nearsure commented
Same issue here!
hayder-nearsure commented
I recommend using the version SpicyPizza/create-envfile@v1.2
cronnoss commented
Same issue here!
AngelOnFira commented
This should be resolved in v2.0.1 but do mention if the issue still persists!