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

Fix Cygwin action workflow warning #17

Open
aregtech opened this issue Oct 15, 2024 · 0 comments
Open

Fix Cygwin action workflow warning #17

aregtech opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@aregtech
Copy link
Owner

When running CMake action workflow for Cygwin platform, getting a warning like this:

Post job cleanup.
C:\cygwin\bin\git.exe version
git version [2](https://github.com/aregtech/areg-sdk-demo/actions/runs/11337035330/job/31527984645#step:22:2).45.1
Temporarily overriding HOME='D:\a\_temp\65f2d06f-[3](https://github.com/aregtech/areg-sdk-demo/actions/runs/11337035330/job/31527984645#step:22:3)043-42b1-bd8a-657caee0b0c3' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
C:\cygwin\bin\git.exe config --global --add safe.directory D:\a\areg-sdk-demo\areg-sdk-demo
C:\cygwin\bin\git.exe config --local --name-only --get-regexp core\.sshCommand
fatal: --local can only be used inside a git repository
C:\cygwin\bin\git.exe submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
fatal: detected dubious ownership in repository at '/cygdrive/d/a/areg-sdk-demo/areg-sdk-demo'
To add an exception for this directory, call:

	git config --global --add safe.directory /cygdrive/d/a/areg-sdk-demo/areg-sdk-demo
Warning: The process 'C:\cygwin\bin\git.exe' failed with exit code 12[8](https://github.com/aregtech/areg-sdk-demo/actions/runs/11337035330/job/31527984645#step:22:8)
0s
Merge pull request

Analyze the warning and figure out whether it can be fixed. The warning happens only after compilation with Cygwin when tries to run cleanup job.

@aregtech aregtech added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Oct 15, 2024
@aregtech aregtech self-assigned this Oct 15, 2024
@aregtech aregtech linked a pull request Oct 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant