Giter Club home page Giter Club logo

netrc's People

Contributors

grzegorzkrukowski avatar pawelaugustyn avatar q0w avatar robbevp avatar rossmacarthur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

netrc's Issues

netrc info duplicated each CI run

We ran in to an issue when running this action on the same physical machine, each time the action is invoked, the netrc info is appended to the existing netrc file, rather than replacing it. We only figured out this error when our password changed, but wasn't being picked up on the CI. Turns out our netrc file was 121K of duplicated info.

The issue is caused by the file being opened in append mode.

If this action is used multiple times, the post-action to delete netrc will fail

I need to add 2 different servers so my setup looks like this:

  - uses: extractions/netrc@v2
    with:
      machine: github.com
      username: <username>
      password: <password>
  - uses: extractions/netrc@v2
    with:
      machine: maven.pkg.github.com
      username: <username>
      password: <password>

but I believe each of these will call the post-action from #9 , and because the first call will have deleted the netrc file already, subsequent attempts fail with:

ENOENT: no such file or directory, unlink '/Users/runner/.netrc'

New Release

Hi, thanks for building this action! We have found it to be very useful

I saw that you recently made changes to update for Node 16 support (823ae2f) and I wondered if you could make a new tag release so that we could specify @2 or continue using @1? We currently are using @trunk without any issues

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.