-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Feature request] Add support to run on windows-latest #46
Comments
Hello @nbauma109,
Unfortunately this github action can't support windows, as behind the scene, the maven released is done on a docker image. You can find more details on the docker image that is used:
I did add a way for you guys to add custom known host. It is done here https://github.com/qcastel/docker-maven-release/blob/master/add-ssh-key.sh#L22
You can find an example of how to setup a passphrase here:
I think with the answers above, you should be able to manage the private key and a part of the known host internally. Let me know if there is something missing that you think would be an interesting add-on to this github action. |
I am also happy to assist if you got difficulties to get it work on certain repos. Sometimes troubleshooting edge cases helps me to get a better view of what needs to be implemented. |
Thanks for all the answers. I think I will stick with this not so great workaround. |
indeed if you like investigating really edgy scenarios, I have this one but probably not worse spending too much time orphan-oss/launch4j-maven-plugin#167 |
I had a quick look and the maven release fails during the launch4j step, which you are fully aware of. Unfortunately I can't really help there, as it's out of bound of the maven release github action wrapper. |
Hello @qcastel But it worked on ubuntu with the maven release plugin as soon as I dropped the github-actions-maven-release. https://github.com/nbauma109/jd-gui-duo/blob/master/.github/workflows/maven.yml Anyway it works now so look only if you have time. Nicolas. |
What I think may have happened is that in your case, you hit your cache, whereas in the qcastel maven action, it doesnt: In your ubuntu maven release:
Here you use a cache key Whereas here, https://github.com/nbauma109/jd-gui-duo/runs/5129617422?check_suite_focus=true So what happens is that maven release will download the jar but it won't be uncompress. I don't know all the details of I would try to troubleshoot on that direction, ie looking at the cache and see the difference there. For example, you could compare your cache in your ubuntu gitflow and see the content of the You could try to do the same on the github maven release, see if you could build a cache and inject it to the action. |
After failing to build some project on unbuntu-latest, I gave a try on windows_latest.
As windows is not supported, I tried to make some custom workaround.
What exactly is blocking for Windows support ?
How do you manage the known hosts ?
and the SSH key passphrase if any ?
Here's how my workaround is configured for windows:
I'd rather have the private key and known_hosts managed internally.
The text was updated successfully, but these errors were encountered: