Skip to content

Commit 03c1a17

Browse files
committed
update tullia and adapt cicero/cd action
1 parent a109c95 commit 03c1a17

File tree

2 files changed

+120
-24
lines changed

2 files changed

+120
-24
lines changed

flake.lock

Lines changed: 115 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/cloud/actions.nix

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,25 @@
1010
}: {
1111
io = ''
1212
let cfg = {
13-
#lib.io.github_push
13+
#lib.io.github_push,
1414
#repo: "input-output-hk/cicero"
15+
inputs: _final_inputs
1516
}
1617
18+
_final_inputs: inputs
1719
inputs: {
1820
cfg.inputs
1921
2022
ci: match: {
2123
ok: true
22-
23-
revision: output.success.revision
24-
// Declare a direct dependency on the input that has the revision
25-
// as CUE flows do not consider indirect dependencies.
26-
_dep: inputs[cfg.#input]
24+
revision: cfg._revision
2725
}
2826
}
2927
3028
output: {
3129
success: deployed: true
3230
failure: deployed: false
33-
[Case=string]: revision: cfg.output[Case].revision
31+
[string]: revision: cfg._revision
3432
}
3533
'';
3634

0 commit comments

Comments
 (0)