Git Product home page Git Product logo

Comments (5)

Hecsall avatar Hecsall commented on June 14, 2024 3

@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.

 avatar commented on June 14, 2024

@Hecsall Thank you so much! 💯

from create-envfile.

StarNab avatar StarNab commented on June 14, 2024

Awesome, thanks for the fix

from create-envfile.

ggriffin avatar ggriffin commented on June 14, 2024

@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.

AngelOnFira avatar AngelOnFira commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.