Replies: 1 comment
-
I think I've got this down to improper Nix setup on the runner; i.e., not a GoReleaser problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm migrating a project from Sourcehut to GitHub and from Sourcehut's CI to GitHub Actions. I'm running into a problem with the nixpkgs step in my GoReleaser run. nix-prefetch-url is failing to download archives from the GitHub release that was just made, failing the actions run.
Here's the failing actions run: https://github.com/mcornick/clilol/actions/runs/7848622073/job/21420147756 Correlate this with https://github.com/mcornick/clilol/releases/tag/v1.0.13 where we see that https://github.com/mcornick/clilol/releases/download/v1.0.13/clilol_1.0.13_linux_386.tar.gz exists in the release, despite nix-prefetch-url getting a 404.
I had nixpkgs working previously on Sourcehut, but there it ran on a NixOS builder. Since GitHub doesn't offer NixOS, I'm running it on an Ubuntu 22.04 builder after installing the nix-bin package.
My only theory right now is that I'm running into some sort of race condition where nix-prefetch-url is trying to download before GitHub has finalized the release and made the archives actually downloadable (e.g., there is some sort of cache/CDN work going on in the background.) I'm not sure how I would fix this, though.
Any ideas on what's going wrong here and/or how I might fix it? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions