Coder Social home page Coder Social logo

Comments (7)

yousong avatar yousong commented on July 20, 2024 1

Hey @yousong We have an item open for this issue here: actions/runner#169

Note sure if it's because of redirection, but definitely it's not powershell. So likely the issue is different.

You can workaround it by separating out the multi-line step into individual steps, as it appears you have done in your repo!

I compacted all shell run steps into into a single one. Not spliting them into individual steps.

Note that the issue reported here is that 2nd and later shell run steps fail

from setup-go.

thboop avatar thboop commented on July 20, 2024 1

Hey @yousong , I apologize I misread your issue.

I forked your repo and was able to reproduce the issue!

The runner is actually throwing an error because the folder it expects to find is missing. If you change your line here to cp -r instead of mv the following steps should execute.

You can see my example here

That being said, if you don't need to use that directory for your workflow to work, you may want to consider using the current working directory to slightly speed up your actions!

from setup-go.

yousong avatar yousong commented on July 20, 2024

Tried v1 and v1.1.1, the issue persists

from setup-go.

yousong avatar yousong commented on July 20, 2024

Friendly ping

from setup-go.

bryanmacfarlane avatar bryanmacfarlane commented on July 20, 2024

Doesn't seem like a setup-go issue but @thboop can have a look.

from setup-go.

thboop avatar thboop commented on July 20, 2024

Hey @yousong We have an item open for this issue here: actions/runner#169

You can workaround it by separating out the multi-line step into individual steps, as it appears you have done in your repo!

from setup-go.

yousong avatar yousong commented on July 20, 2024

Hey @yousong , I apologize I misread your issue.

I forked your repo and was able to reproduce the issue!

The runner is actually throwing an error because the folder it expects to find is missing. If you change your line here to cp -r instead of mv the following steps should execute.

You can see my example here

I see. It's working directory "not found" because I moved it to another place.

That being said, if you don't need to use that directory for your workflow to work, you may want to consider using the current working directory to slightly speed up your actions!

This is specific to the golang code and the container image in use here. The code needs to sit in $GOPATH and we tend to set it to $HOME/go. $GOPATH has its own directory structure.

Anyway, thanks for your time and efforts. Appreciate it

Good day ;)

from setup-go.

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.