GithubHelp home page GithubHelp logo

Comments (6)

kevincobain2000 avatar kevincobain2000 commented on June 3, 2024

seems like - windows only issue

from gobrew.

juev avatar juev commented on June 3, 2024

Yes, this is specific to windows only.
And version 1.20.11 is the default version on Windows servers.
https://github.com/juev/gobrew-windows/actions/runs/7124279050/job/19398244415

It looks like the environment variables are not set correctly for windows:
https://github.com/kevincobain2000/action-gobrew/blob/master/action.yml

from gobrew.

juev avatar juev commented on June 3, 2024

The problem was that in our workflow there was an indication to run run without explicitly specifying shell.
As a result, we ran the gobrew installation in bash. But we checked the go version in a different interpreter. If you explicitly specify to run from bash, everything works fine.
I made changes to MR, correcting our workflow.
You will need to think about how to do this for all shells.
And if this is not possible, indicate the specifics for Windows in the documentation.

from gobrew.

juev avatar juev commented on June 3, 2024

Will we add this case to the documentation? To draw attention to the problem?
Or should we just close the current problem?

from gobrew.

kevincobain2000 avatar kevincobain2000 commented on June 3, 2024

It's ok to not add it to the docs. Someone from windows if wants can dig this issue up and fix it.

from gobrew.

juev avatar juev commented on June 3, 2024

Ok, thanks!

from gobrew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.