Use harmonia instead of attic for binary cache
Some checks failed
CI / Check, build and cache Nix flake (push) Failing after 1m40s
Some checks failed
CI / Check, build and cache Nix flake (push) Failing after 1m40s
This commit is contained in:
@@ -23,19 +23,16 @@ jobs:
|
||||
|
||||
extra-substituters = https://nix-cache.nul.ie/main
|
||||
extra-trusted-public-keys = main:mMChkG8LwXrFirVfudqjSHasK1jV31OVElYD3eImYl8=
|
||||
- name: Set up attic
|
||||
run: |
|
||||
nix run .#nixpkgs.mine.x86_64-linux.attic-client -- \
|
||||
login --set-default colony https://nix-cache.nul.ie "${{ secrets.NIX_CACHE_TOKEN }}"
|
||||
|
||||
- name: Check flake
|
||||
run: nix flake check
|
||||
# - name: Check flake
|
||||
# run: nix flake check --no-build
|
||||
- name: Build the world
|
||||
id: build
|
||||
run: |
|
||||
path=$(nix build --no-link .#ci.x86_64-linux --json | jq -r .[0].outputs.out)
|
||||
# path=$(nix build --no-link .#ci.x86_64-linux --json | jq -r .[0].outputs.out)
|
||||
path=$(nix build --no-link .#chocolate-doom2xx --json | jq -r .[0].outputs.out)
|
||||
echo "path=$path" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Push to cache
|
||||
run: |
|
||||
nix run .#nixpkgs.mine.x86_64-linux.attic-client -- \
|
||||
push main ${{ steps.build.outputs.path }}
|
||||
ci/push-to-cache.sh "${{ steps.build.outputs.path }}"
|
||||
|
Reference in New Issue
Block a user