Skip to content

Commit 06b5f8a

Browse files
authored
update readme to use magic-nix-cache action (#136)
Signed-off-by: phanirithvij <[email protected]>
1 parent def9f5a commit 06b5f8a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- name: Install Nix
1616
uses: DeterminateSystems/determinate-nix-action@main
17-
- uses: DeterminateSystems/flakehub-cache-action@main
17+
- uses: DeterminateSystems/magic-nix-cache-action@main
1818
- name: Check shell scripts
1919
run: |
2020
nix develop --command shellcheck ./.github/workflows/cache-test.sh

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Use Magic Nix Cache, a totally free and zero-configuration binary cache for Nix
66
In your workflow, add our [GitHub Action][action] after installing Nix, like this:
77

88
```yaml
9-
- uses: DeterminateSystems/determinate-nix-action@main
10-
- uses: DeterminateSystems/flakehub-cache-action@main
9+
- uses: DeterminateSystems/nix-installer-action@main
10+
- uses: DeterminateSystems/magic-nix-cache-action@main
1111
```
1212
1313
See [Usage](#usage) for a detailed example.
@@ -53,8 +53,8 @@ jobs:
5353
contents: "read"
5454
steps:
5555
- uses: actions/checkout@v4
56-
- uses: DeterminateSystems/determinate-nix-action@v3
57-
- uses: DeterminateSystems/flakehub-cache-action@main
56+
- uses: DeterminateSystems/nix-installer-action@main
57+
- uses: DeterminateSystems/magic-nix-cache-action@main
5858
- uses: DeterminateSystems/flake-checker-action@main
5959
- name: Run `nix build`
6060
run: nix build .
@@ -87,7 +87,7 @@ When you configure an upstream cache for the Magic Nix Cache, any store paths fe
8787
The default is `https://cache.nixos.org` but you can set a different upstream:
8888

8989
```yaml
90-
- uses: DeterminateSystems/flakehub-cache-action@main
90+
- uses: DeterminateSystems/magic-nix-cache-action@main
9191
with:
9292
upstream-cache: https://my-binary-cache.com
9393
```

0 commit comments

Comments
 (0)