Hacker News new | ask | show | jobs
by 90s_dev 397 days ago
GH Actions have always worked flawlessly for me, as long as I don't ever do anything unusual.

Last week I moved from a custom server back to GH Pages + GH Actions, and broke a feature that depended on an out dir existing after one build phase and before another. I have no idea how to fix it. It's probably simple, I'm just burnt out.

1 comments

Each job runs on a separate runner. If you want to pass data across, use artifacts to upload and then retrieve the specified file(s).
You can pass outputs between jobs by declaring one job as a dependency of another with needs:, then reference that dependency's outputs with needs.<job>.outputs