tj-actions / verify-changed-files

:octocat: Github action to verify file changes that occur during the workflow execution.
MIT License
163 stars 22 forks source link

[BUG] Resolving repository path throws error #424

Closed andreikarkkanen closed 6 months ago

andreikarkkanen commented 6 months ago

Is there an existing issue for this?

Does this issue exist in the latest version?

Describe the bug?

My workflow runs on a Windows runner. The following configuration completes with an error

image

Seems like a path combined incorrectly C:\a\gemini-proadm-app\gemini-proadm-app/Volue.ProAdm

The valid path is C:\a\gemini-proadm-app\gemini-proadm-app\Volue.ProAdm

To Reproduce

- name: Find uncommitted changes generated during the Nuke Build
  uses: tj-actions/verify-changed-files@v20
  id: verify-changed-files
  with:
    path: 'Volue.ProAdm'
    files: |
      *.Designer.cs

What OS are you seeing the problem on?

windows-latest or windows-2022

Expected behavior?

Find uncommitted changes.

Relevant log output

Run tj-actions/verify-changed-files@v20
Run tj-actions/glob@v22
Warning: No paths found using the specified patterns
Successfully created paths-output-file: C:\Users\runneradmin\AppData\Local\Temp\2624c888-bf06-4a33-90fd-dd5909bb80f7.txt
Run bash $GITHUB_ACTION_PATH/entrypoint.sh
  bash $GITHUB_ACTION_PATH/entrypoint.sh
  shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
  env:
    INPUT_FILES_PATTERN_FILE: C:\Users\runneradmin\AppData\Local\Temp\2624c888-bf06-4a33-90fd-dd5909bb80f7.txt
    INPUT_SEPARATOR:  
    INPUT_MATCH_GITIGNORE_FILES: false
    INPUT_FAIL_IF_CHANGED: false
    INPUT_FAIL_IF_UNCHANGED: false
    INPUT_FAIL_MSG: Files have not changed.
    INPUT_SAFE_OUTPUT: true
    INPUT_PATH: Volue.ProAdm
    INPUT_QUOTEPATH: true
verify-changed-files
  Resolving repository path: C:\a\gemini-proadm-app\gemini-proadm-app/Volue.ProAdm
  Error: Process completed with exit code 141.

Has all relevant logs been included?

Anything else?

No response

Code of Conduct