Commit graph

23 commits

Author SHA1 Message Date
Domen Kožar
257f7af635
Merge pull request #112 from league/fix-typo
Fix minor typo in message
2022-03-30 09:54:35 +01:00
Christopher League
e4a9149609 Fix minor typo in message
Just happened to notice it in my log.
2022-03-24 12:12:36 -04:00
Naïm Favier
e62abb7d2d
Add pathsToPush and cachixArgs
Give more control to the user over exactly what is pushed and how.
2022-03-15 22:37:50 +01:00
Claudio Bley
fccf77d171
Allow pushFilter regex to start with a dash 2021-08-04 09:09:00 +02:00
Domen Kožar
13c6d228be
fix bug with nix master 2021-04-06 11:57:07 +02:00
Domen Kožar
2689c27f57
better error message 2021-04-02 17:26:57 +02:00
Sascha Grunert
f1560b98ab
Add pushFilter to allow filtering cache derivations
This allows filtering derivations to be pushed via an optional
`pushFilter` variable.

The use case behind it is to not push the actually built derivation, but
only runtime and build dependencies.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-02-18 16:30:08 +01:00
Domen Kožar
26cfe1ed98
Merge pull request #76 from zimbatm/no-unstable
only use stable nix commands
2021-01-25 13:23:31 +00:00
zimbatm
9831d0f47e
nix: only use stable commands
Avoid the following error when installing nix-unstable:

    experimental Nix feature 'nix-command' is disabled; use '--experimental-features nix-command' to override
2021-01-25 13:20:24 +01:00
zimbatm
dd289524af
fixup! clean error outputs 2021-01-05 00:42:04 +01:00
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