Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for windows-latest build environment #112

Open
jchenevarin opened this issue Oct 22, 2020 · 1 comment · May be fixed by #124
Open

Support for windows-latest build environment #112

jchenevarin opened this issue Oct 22, 2020 · 1 comment · May be fixed by #124

Comments

@jchenevarin
Copy link

Describe the bug
Action in version 1.2.4 is giving the following error when used with windows-latest:

There was an issue writing output files.
Exception: {
  "error": "500/Error",
  "from": "writeFiles",
  "message": "There was an issue writing output files.",
  "payload": "{\"errno\":-4058,\"syscall\":\"open\",\"code\":\"ENOENT\",\"path\":\"undefined/files.json\"}"
}

Workflow
This is our workfow setting:

- name: Changed files
        id: file_changes
        uses: trilom/[email protected]
        with:
          githubToken: ${{ secrets.GITHUB_TOKEN }}
          output: ' '

Expected behavior
It was working with ubuntu-latest and it should be working on windows or at least advertised as not working on windows-latest.

Additional context
It seems that this is due to the use of the hardcoded process.env.HOME in the code ?

@danielorihuela
Copy link

I have exactly that same problem. It fails for windows-latest on version 1.2.3 and 1.2.4.

image

image

@james-braund james-braund linked a pull request Jun 29, 2021 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants