Skip to content

Commit 91ece0e

Browse files
committed
Regenerate with pinned versions and tags in the readme, and the rev of the mnc binary
1 parent 95c729b commit 91ece0e

File tree

6 files changed

+46
-38
lines changed

6 files changed

+46
-38
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- uses: actions/[email protected]
5353
- uses: DeterminateSystems/determinate-nix-action@v3
54-
- uses: DeterminateSystems/flakehub-cache-action@v3 # or v3.6.2 to pin to a release
54+
- uses: DeterminateSystems/flakehub-cache-action@v2 # or v2.1 to pin to a release
5555
- run: nix build .
5656
```
5757
@@ -65,7 +65,7 @@ jobs:
6565
Unlike `DeterminateSystems/magic-nix-cache-action`, we fully support explicit version pinning for maximum consistency.
6666
This Action is **automatically tagged** for every release, giving you complete control over your CI environment:
6767

68-
📍 Pinning to `DeterminateSystems/flakehub-cache-action@v3.6.2` guarantees:
68+
📍 Pinning to `DeterminateSystems/flakehub-cache-action@v2.1` guarantees:
6969

7070
- Same `flakehub-cache-action` revision every time
7171
- Reproducible CI workflows, even years later
@@ -93,28 +93,28 @@ updates:
9393

9494
## ️⚙️ Configuration
9595

96-
| Parameter | Description | Required | Default |
97-
|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|------------------------------|
96+
| Parameter | Description | Required | Default |
97+
|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|--------------------------------------------|
9898
| `use-gha-cache` | Whether to upload build results to the Github Actions cache.
9999
Set to "no-preference" or null to have the GitHub Actions cache turn on if it is available, and FlakeHub Cache is not available (default).
100100
Set to "enabled" or true to explicitly request the GitHub Actions Cache.
101101
Set to "disabled" or false to explicitly disable the GitHub Actions Cache.
102-
| | |
103-
| `flakehub-flake-name` | The name of your flake on FlakeHub. The empty string will autodetect your FlakeHub flake. | | `` |
104-
| `diff-store` | Whether or not to diff the store before and after Magic Nix Cache runs | | `False` |
105-
| `startup-notification-port` | The port magic-nix-cache uses for daemon startup notification. | | `41239` |
106-
| `listen` | The host and port to listen on. | | `127.0.0.1:37515` |
107-
| `upstream-cache` | Your preferred upstream cache. Store paths in this store will not be cached in GitHub Actions' cache. | | `https://cache.nixos.org` |
108-
| `diagnostic-endpoint` | Diagnostic endpoint url where diagnostics and performance data is sent. To disable set this to an empty string. | | `-` |
109-
| `source-binary` | Run a version of the cache binary from somewhere already on disk. Conflicts with all other `source-*` options. | | |
110-
| `source-branch` | The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | |
111-
| `source-pr` | The PR of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | |
112-
| `source-revision` | The revision of `nix-magic-nix-cache` to use. Conflicts with all other `source-*` options. | | |
113-
| `source-tag` | The tag of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | `v3.6.2` |
114-
| `source-url` | A URL pointing to a `magic-nix-cache` binary. Overrides all other `source-*` options. | | |
115-
| `flakehub-cache-server` | The FlakeHub binary cache server. | | `https://cache.flakehub.com` |
116-
| `flakehub-api-server` | The FlakeHub API server. | | `https://api.flakehub.com` |
117-
| `_internal-strict-mode` | Whether to fail when any errors are thrown. Used only to test the Action; do not set this in your own workflows. | | `False` |
102+
| | |
103+
| `flakehub-flake-name` | The name of your flake on FlakeHub. The empty string will autodetect your FlakeHub flake. | | `` |
104+
| `diff-store` | Whether or not to diff the store before and after Magic Nix Cache runs | | `False` |
105+
| `startup-notification-port` | The port magic-nix-cache uses for daemon startup notification. | | `41239` |
106+
| `listen` | The host and port to listen on. | | `127.0.0.1:37515` |
107+
| `upstream-cache` | Your preferred upstream cache. Store paths in this store will not be cached in GitHub Actions' cache. | | `https://cache.nixos.org` |
108+
| `diagnostic-endpoint` | Diagnostic endpoint url where diagnostics and performance data is sent. To disable set this to an empty string. | | `-` |
109+
| `source-binary` | Run a version of the cache binary from somewhere already on disk. Conflicts with all other `source-*` options. | | |
110+
| `source-branch` | The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | |
111+
| `source-pr` | The PR of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | |
112+
| `source-revision` | The revision of `nix-magic-nix-cache` to use. Conflicts with all other `source-*` options. | | `c79f1550609d4e9c4065a27fd599e76a94e0278d` |
113+
| `source-tag` | The tag of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | |
114+
| `source-url` | A URL pointing to a `magic-nix-cache` binary. Overrides all other `source-*` options. | | |
115+
| `flakehub-cache-server` | The FlakeHub binary cache server. | | `https://cache.flakehub.com` |
116+
| `flakehub-api-server` | The FlakeHub API server. | | `https://api.flakehub.com` |
117+
| `_internal-strict-mode` | Whether to fail when any errors are thrown. Used only to test the Action; do not set this in your own workflows. | | `False` |
118118

119119
## 🛟 Need help? We're here for you!
120120

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
},
5252
"source-revision": {
5353
"description": "The revision of `nix-magic-nix-cache` to use. Conflicts with all other `source-*` options.",
54-
"required": false
54+
"required": false,
55+
"default": "c79f1550609d4e9c4065a27fd599e76a94e0278d"
5556
},
5657
"source-tag": {
5758
"description": "The tag of `magic-nix-cache` to use. Conflicts with all other `source-*` options.",
58-
"required": false,
59-
"default": "v3.6.2"
59+
"required": false
6060
},
6161
"source-url": {
6262
"description": "A URL pointing to a `magic-nix-cache` binary. Overrides all other `source-*` options.",
@@ -80,7 +80,7 @@
8080
"using": "composite",
8181
"steps": [
8282
{
83-
"uses": "DeterminateSystems/magic-nix-cache-action@cb3030da0487efd312ad3c07fc4ad1960d35ec60",
83+
"uses": "DeterminateSystems/magic-nix-cache-action@def9f5a5c6a6b8751c0534e8813a5d0ad2635660",
8484
"with": {
8585
"use-gha-cache": "${{ inputs.use-gha-cache }}",
8686
"flakehub-flake-name": "${{ inputs.flakehub-flake-name }}",

tools/README.template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- uses: actions/checkout@<!-- checkout_action_tag -->
5353
- uses: DeterminateSystems/determinate-nix-action@v3
54-
- uses: DeterminateSystems/flakehub-cache-action@v3 # or <!-- version --> to pin to a release
54+
- uses: DeterminateSystems/flakehub-cache-action@<!-- version_major --> # or <!-- version_minor --> to pin to a release
5555
- run: nix build .
5656
```
5757
@@ -65,7 +65,7 @@ jobs:
6565
Unlike `DeterminateSystems/magic-nix-cache-action`, we fully support explicit version pinning for maximum consistency.
6666
This Action is **automatically tagged** for every release, giving you complete control over your CI environment:
6767

68-
📍 Pinning to `DeterminateSystems/flakehub-cache-action@<!-- version -->` guarantees:
68+
📍 Pinning to `DeterminateSystems/flakehub-cache-action@<!-- version_minor -->` guarantees:
6969

7070
- Same `flakehub-cache-action` revision every time
7171
- Reproducible CI workflows, even years later

0 commit comments

Comments
 (0)