Commit graph

13 commits

Author SHA1 Message Date
zimbatm
f22d9c7a0f
clean error outputs
On error, just mark the error with `core.setFailed`, this is enough to
kill the process.

Replace child_process.execFileSync with '@actions/exec'.exec to be async
all the way.
2021-01-02 21:54:58 +01:00
Domen Kožar
07abd5e5db
find cachix executable by not hardcoding the user 2020-11-10 14:39:00 +01:00
Domen Kožar
25971529fd
allow auth token to be enough for pushing paths 2020-11-10 14:20:48 +01:00
Domen Kožar
8d10cb2a40
generate dist 2020-11-04 15:49:20 +01:00
Domen Kožar
754a40db11
speed up client installation a bit 2020-09-23 17:08:47 +02:00
zimbatm
ffed6b919f
add installCommand option
By using installCommand, it's possible to avoid yet another pull of
nixpkgs and speed-up the CI.
2020-08-26 21:18:01 +02:00
Gary Coady
49b785b55a Adds extra caches for pulling from (binary substitution).
Creates an `extraPullNames` parameter, to mimic the existing `name`
parameter. This string should be a comma-separated set of cache names.
2020-06-23 11:20:12 +02:00
Domen Kožar
21633808a1
fix build 2020-05-12 13:07:35 +02:00
Domen Kožar
6a2b9a1715
rework CI 2020-05-12 11:05:09 +02:00
Domen Kožar
13e2cf25a1
Don't try to push store paths that were GCed
Previously we'd only push unique paths before/after the job,
but that's not good enough because someone might run garbage
collection.

Now we only push unique store paths that are in the list of
when the job finished.
2020-05-12 10:50:05 +02:00
zimbatm
b8b745f3a7
WIP: save cache on post
Instead of trying to do everything in the action, push the cache at the
end. This allows to run other actions in between.
2020-04-17 12:20:05 +02:00
Jörg Thalheim
36fc8c5254
Make cachix install quiet
Since this mainly downloads dependencies, removing it, removes some noise.
2020-04-16 05:19:59 +01:00
zimbatm
b6f02e1d4f
bundle all the dependencies 2020-04-10 14:55:10 +02:00