#github-actions (2021-07)
Discussions related to GitHub Actions
2021-07-07
![tomv avatar](https://secure.gravatar.com/avatar/44a7bbeb9f6711e508a0141d8b365470.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0019-72.png)
:wave: anyone ever call print("::set_output name=foo::bar")
from python in a github action? for some reason my output never gets set
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
set-output
(dash, not underscore)
![tomv avatar](https://secure.gravatar.com/avatar/44a7bbeb9f6711e508a0141d8b365470.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0019-72.png)
that was a typo but after a few hours of head banging i finally figured it out, it wasn’t the print("::set-output")
, it was that I was trying to reference a step output in a composite action that wasn’t exporting the output, if that makes any sense
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
yup
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
aha, i was going to suggest a missing \n
2021-07-14
2021-07-25
2021-07-31
![Vlad Ionescu (he/him) avatar](https://avatars.slack-edge.com/2020-10-03/1417676895681_ea45b3f22e5fea04f2fc_72.png)
![attachment image](https://pbs.twimg.com/media/E7pI2LZXIAAcuDi.jpg)
ICYMI: you can now easily cache Docker builds in GitHub Actions 15 minutes builds are now taking 1 minute
If you’re using @Docker’s build-push-action, it’s a 2-line change: cache-from: type=gha cache-to: type=gha,mode=max
Full details on https://github.com/docker/build-push-action/pull/406 https://pbs.twimg.com/media/E7pI2LZXIAAcuDi.jpg
![cool-doge](/assets/images/custom_emojis/cool-doge.gif)
![Mohammed Yahya avatar](https://avatars.slack-edge.com/2020-12-17/1590276740676_9fdeb6c9ef89d13e6414_72.png)
yes and in terraform I cached .terraform folder and make it super quick
![attachment image](https://pbs.twimg.com/media/E7pI2LZXIAAcuDi.jpg)
ICYMI: you can now easily cache Docker builds in GitHub Actions 15 minutes builds are now taking 1 minute
If you’re using @Docker’s build-push-action, it’s a 2-line change: cache-from: type=gha cache-to: type=gha,mode=max
Full details on https://github.com/docker/build-push-action/pull/406 https://pbs.twimg.com/media/E7pI2LZXIAAcuDi.jpg
![Mohammed Yahya avatar](https://avatars.slack-edge.com/2020-12-17/1590276740676_9fdeb6c9ef89d13e6414_72.png)
also lock file
![Vlad Ionescu (he/him) avatar](https://avatars.slack-edge.com/2020-10-03/1417676895681_ea45b3f22e5fea04f2fc_72.png)
^made a huge difference on a couple repos I manage. It’s beta, of course, but I did not notice any issues yet