Comments (5)
@riboney I saw the commit on your project, maybe I should have written the issue better.
The github_workspace
parameter is only needed if you use the v1.1, instead if you use the master
version you can omit that parameter, see examples below:
Using v1.1
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
envkey_SOME_VARIABLE: "test"
directory: somedirectory
github_workspace: ${{ github.workspace }} # <-- this is needed in v.1.1
Using master
- name: Make envfile
uses: SpicyPizza/create-envfile@master
with:
envkey_SOME_VARIABLE: "test"
directory: somedirectory
# here in master the github_workspace is not needed anymore
Now it should be clearer
from create-envfile.
@Hecsall Thank you so much! 💯
from create-envfile.
Awesome, thanks for the fix
from create-envfile.
@riboney In case you were interested, I believe best practice suggests not referencing @master
in the README. Rather, it should reference the latest version/tag or upcoming version/tag. Then, for example, the version of README for tag v1.0 would show [email protected]
and the version of README for tag v1.1 would show [email protected]
You can see an example of this approach for tags v0 and v1 of setup-sam.
from create-envfile.
I think this should be resolved properly on 1.3 that is about to come out, so I'm going to close this for now. I'm going to make the docs point to 1.3 specifically, so people should be fine to just use it as the latest.
Feel free to check that the tests cover this case. Also, if there is outstanding changes that should be made, feel free to re-open this issue :)
from create-envfile.
Related Issues (20)
- Release Version HOT 1
- Directory option doesn't work: no such file or directory HOT 6
- Error: Container action is only supported on Linux HOT 4
- Fail if secret is not defined HOT 3
- Error: docker: command not found HOT 1
- How do I create the env file in a server i have provided ssh credentials for? HOT 2
- Why directory not work? HOT 1
- Make a better way to fail an Action test HOT 1
- Empty env keys aren't backwards compatible HOT 10
- Absolute path issue HOT 7
- env file not being created / GITHUB_WORKSPACE not set HOT 9
- Do not mutate key name HOT 2
- How to escape multiline values in .env file HOT 6
- Container action is only supported on Linux HOT 5
- Question: What does this do to an already existing .env file present in the specified directory? HOT 2
- Sorted keys breaks variable dependence in the envfile HOT 3
- Unrecognized named-value: 'secrets'. Located at position 1 within expression:
- Unable to create .env file HOT 2
- How can I create .env file with my own custom name? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-envfile.