Skip to content

Commit

Permalink
ci: manual nixsgx cache upload
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Jun 10, 2024
1 parent 49a1ae7 commit 8962c55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,8 @@ jobs:

- name: nix build
run: nix run github:nixos/nixpkgs/nixos-23.11#nixci

- name: manual cachix upload
run: |
a=($(nix flake show --json | jq -r ".packages.\"x86_64-linux\" | keys | @sh" | tr -d \\\' ))
nix build --json "${a[@]/#/.#}" | jq -r '.[].outputs | to_entries[].value' | cachix push nixsgx

0 comments on commit 8962c55

Please sign in to comment.