Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

The Linux subsystem is broken after using this action #11

Closed
sanguinariojoe opened this issue Oct 22, 2022 · 3 comments · Fixed by #12
Closed

The Linux subsystem is broken after using this action #11

sanguinariojoe opened this issue Oct 22, 2022 · 3 comments · Fixed by #12

Comments

@sanguinariojoe
Copy link

sanguinariojoe commented Oct 22, 2022

Before the action usage you can safely run bash shell:

https://github.com/sanguinariojoe/MoorDyn/actions/runs/3302812370/jobs/5450026617#step:3:6

But after you are getting an error (Windows Subsystem for Linux has no installed distributions.):

https://github.com/sanguinariojoe/MoorDyn/actions/runs/3302812370/jobs/5450026617#step:11:4

This did not happened before #9 (see https://github.com/sanguinariojoe/MoorDyn/actions/runs/3273534330/jobs/5385863752)

@wpbonelli
Copy link
Member

Thanks @sanguinariojoe, this was caused by path manipulation introduced in #9 to make sure cache contents are unzipped with Windows' default tar. This caused C:\Windows\System32\bash.exe to be used in subsequent steps instead of the default C:\Program Files\Git\usr\bin\bash.EXE. #12 reverts this in favor of temporarily hiding GNU tar.

@wpbonelli
Copy link
Member

Passing test run here, will update modflowpy/install-intelfortran-action@v1 shortly

@wpbonelli
Copy link
Member

modflowpy/install-intelfortran-action@v1 has this update now but #10 is still unresolved

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants