Creating a $HOME/.netrc with an action #25836
-
Hello! I’ve created an action that creates a .netrc file for curl to use (https://github.com/onomondo/github-auth-netrc-javascript-action) to authenticate with github when we run npm install as we have a package defined as a private repo. The thing is it works if I do it manually in a step:
Here’s a configuration using the action that does not work:
I’ve tried listing the home directory etc both in the action and in the run steps and the file is listed in the output. Any clues whether this is a limitation of actions and I’ll have to continue doing it inline or? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@dinoshauer In the example you have below you have two different secret names. Is that intentional? |
Beta Was this translation helpful? Give feedback.
-
Wow. Thanks for the fresh set of eyes! |
Beta Was this translation helpful? Give feedback.
@dinoshauer In the example you have below you have two different secret names. Is that intentional?