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

Failure running github action when using act on windows #236

Closed
dtracers opened this issue May 14, 2020 · 2 comments
Closed

Failure running github action when using act on windows #236

dtracers opened this issue May 14, 2020 · 2 comments
Labels
meta/duplicate This issue or pull request already exists

Comments

@dtracers
Copy link

When I try and use the gcloud action it fails to find it

  #gcloud
  - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
    with:
      export_default_credentials: true

^ this is how i am using it

?[34m|?[0m Error: Cannot find module '/github/workspace/\actions\GoogleCloudPlatform-github-actions-setup-gcloud@master\setup-gcloud\dist\index.js'
?[34m|?[0m ?[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)?[39m
?[34m|?[0m ?[90m    at Function.Module._load (internal/modules/cjs/loader.js:864:27)?[39m
?[34m|?[0m ?[90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)?[39m
?[34m|?[0m ?[90m    at internal/main/run_main_module.js:18:47?[39m {
?[34m|?[0m   code: ?[32m'MODULE_NOT_FOUND'?[39m,
?[34m|?[0m   requireStack: []
?[34m|?[0m }
?[34m[End to End/End to End] ?[0m  ❌  Failure - GoogleCloudPlatform/github-actions/setup-gcloud@master
Error: exit with `FAILURE`: 1

and this is what it ends up saying

my command is:
act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -j gcloudaction

@Tylertron1998
Copy link

this seems to be a duplicate of #145

@cplee cplee added the meta/duplicate This issue or pull request already exists label May 14, 2020
@cplee
Copy link
Contributor

cplee commented May 14, 2020

Good catch @Tylertron1998 ... thank you 👏

@cplee cplee closed this as completed May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants