fix(ci): remove cachix install nix action

This commit is contained in:
Youwen Wu 2024-10-31 23:05:59 -07:00
parent 92d10b707d
commit 06519c40be
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -9,20 +9,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/nix-installer-action@main
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allow-import-from-derivation = true
auto-optimise-store = true
experimental-features = nix-command flakes
substituters = https://cache.nixos.org https://cache.iog.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
# - name: Install Nix
# uses: cachix/install-nix-action@v30
# with:
# github_access_token: ${{ secrets.GITHUB_TOKEN }}
# extra_nix_config: |
# access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
# allow-import-from-derivation = true
# auto-optimise-store = true
# experimental-features = nix-command flakes
# substituters = https://cache.nixos.org https://cache.iog.io
# trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
- run: nix build --accept-flake-config