When a step in action.yml runs using node then even after providing a working directory to the step it always runs in nektos default directory. I also tried in a normal run script step and there setting working directory works fine.
[github-action/action] unable to get git ref: failed to identify reference (tag/branch) for the checked-out revision 'd5d854854651c151ecd914bb6e2e370e0057929a'
[github-action/action] ☁ git clone 'https://github.com/raghavharness/hello-world-javascript-action' # ref=main
5
[github-action/action] unable to get git ref: failed to identify reference (tag/branch) for the checked-out revision 'd5d854854651c151ecd914bb6e2e370e0057929a'
[github-action/action] ⭐ Run Main Check working directory
4
[github-action/action] unable to get git ref: failed to identify reference (tag/branch) for the checked-out revision 'd5d854854651c151ecd914bb6e2e370e0057929a'
[github-action/action] | /Users/raghav
[github-action/action] ✅ Success - Main Check working directory
5
[github-action/action] unable to get git ref: failed to identify reference (tag/branch) for the checked-out revision 'd5d854854651c151ecd914bb6e2e370e0057929a'
[github-action/action] ⭐ Run Main Check working directory 2
3
[github-action/action] unable to get git ref: failed to identify reference (tag/branch) for the checked-out revision 'd5d854854651c151ecd914bb6e2e370e0057929a'
[github-action/action] | PWD /Users/raghav/.cache/act/90abacb54893bf6f/hostexecutor
[github-action/action] ✅ Success - Main Check working directory 2
[github-action/action] 🏁 Job succeeded
Starting: /Users/raghav/go/bin/dlv dap --listen=127.0.0.1:51566 --log-dest=3 from /Users/raghav/harness/adhoc/act
DAP server listening at: 127.0.0.1:51566
Type 'dlv help' for list of commands.
[github-action/action] unable to get git ref: failed to identify reference (tag/branch) for the checked-out revision 'd5d854854651c151ecd914bb6e2e370e0057929a'
Bug report info
Command used with act
Describe issue
When a step in action.yml runs using
node
then even after providing a working directory to the step it always runs in nektos default directory. I also tried in a normal run script step and there setting working directory works fine.Link to GitHub repository
https://github.com/raghavharness/hello-world-javascript-action
Workflow content
Relevant log output
Additional information
No response