Git Product home page Git Product logo

Comments (5)

WaldoJeffers avatar WaldoJeffers commented on May 29, 2024 1

I can confirm this is working @damccorm , thanks for your help :)

from toolkit.

damccorm avatar damccorm commented on May 29, 2024 1

Awesome! I'm going to close here and follow up in #57

from toolkit.

damccorm avatar damccorm commented on May 29, 2024 1

Closing since we have docs as of #105 (and I said I'd close 2 weeks ago 😳)

from toolkit.

damccorm avatar damccorm commented on May 29, 2024

I'm sorry if this is not the best place to ask this

This is a great place!

Is there an equivalent of exportVariable for Docker actions?

Well, if you run javascript in the container you can call exportVariable with this library and it should work. Otherwise, you should be able to replicate what we do in our exportVariable function by doing something like echo "::[set-env name=FOO;]BAR", which will set FOO=BAR in the env for future steps.

Note that docs for this are tracked in #57 and that this doesn't match exactly what exportVariable does yet because of #59

from toolkit.

damccorm avatar damccorm commented on May 29, 2024

Actually, scratch that - for now you should still use echo "##[set-env name=FOO;]BAR". Note though, that we're going to replace ## with :: in the near future and ## will be (gracefully) deprecated.

from toolkit.

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.