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

proposal: Windows support using SSH deploy key #87

Open
peaceiris opened this issue Feb 5, 2020 · 5 comments
Open

proposal: Windows support using SSH deploy key #87

peaceiris opened this issue Feb 5, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request proposal

Comments

@peaceiris
Copy link
Owner

cf. #86

@peaceiris peaceiris self-assigned this Feb 5, 2020
@github-actions

This comment has been minimized.

@peaceiris peaceiris added enhancement New feature or request and removed resolved labels Feb 27, 2020
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@sdabhi23
Copy link

sdabhi23 commented Jul 5, 2020

Hey @peaceiris I am trying to use this action on a windows environment on Actions. I am getting the following error:

Setup auth token
  [INFO] setup SSH deploy key
  "C:\Program Files\Git\usr\bin\chmod.exe" 700 C:\Users\runneradmin\.ssh
  [INFO] wrote C:\Users\runneradmin\.ssh\known_hosts
  "C:\Program Files\Git\usr\bin\chmod.exe" 600 C:\Users\runneradmin\.ssh\known_hosts
  [INFO] wrote C:\Users\runneradmin\.ssh\github
  "C:\Program Files\Git\usr\bin\chmod.exe" 600 C:\Users\runneradmin\.ssh\github
  [INFO] wrote C:\Users\runneradmin\.ssh\config
  "C:\Program Files\Git\usr\bin\chmod.exe" 600 C:\Users\runneradmin\.ssh\config
  C:\windows\system32\sc.exe config ssh-agent start=auto
  [SC] ChangeServiceConfig SUCCESS
  C:\windows\system32\sc.exe start ssh-agent
  
  SERVICE_NAME: ssh-agent 
          TYPE               : 10  WIN32_OWN_PROCESS  
          STATE              : 4  RUNNING 
                                  (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
          WIN32_EXIT_CODE    : 0  (0x0)
          SERVICE_EXIT_CODE  : 0  (0x0)
          CHECKPOINT         : 0x0
          WAIT_HINT          : 0x0
          PID                : 2964
          FLAGS              : 
  C:\windows\System32\OpenSSH\ssh-add.exe C:\Users\runneradmin\.ssh\github
  Error connecting to agent: No such file or directory
  ##[error]Action failed with "The process 'C:\windows\System32\OpenSSH\ssh-add.exe' failed with exit code 2"

Workflow: https://github.com/sdabhi23/sdabhi23.github.io/actions/runs/158125330/workflow
Logs: https://github.com/sdabhi23/sdabhi23.github.io/runs/838257862?check_suite_focus=true

@peaceiris
Copy link
Owner Author

Thank you for reporting. This issue is still WIP.

peaceiris added a commit that referenced this issue Jul 8, 2020
Currently, the deploy_key option is not supported on the windows-latest.

Related #87
peaceiris added a commit that referenced this issue Jul 8, 2020
Add warning deploy_key on windows-latest
- Currently, the deploy_key option is not supported on the windows-latest.
- Related #87

Close #359
peaceiris pushed a commit that referenced this issue Jul 8, 2020
Add warning deploy_key on windows-latest
- Currently, the deploy_key option is not supported on the windows-latest.
- Related #87

Close #359
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal
Projects
None yet
Development

No branches or pull requests

2 participants