mirror of
https://github.com/DeterminateSystems/determinate-nix-action.git
synced 2026-02-24 22:57:12 +00:00
parent
b8b92273ba
commit
797f18edfc
4 changed files with 13 additions and 13 deletions
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
- uses: DeterminateSystems/determinate-nix-action@main # or v3.12.1 to pin to a release
|
- uses: DeterminateSystems/determinate-nix-action@main # or v3.11.3 to pin to a release
|
||||||
- run: nix build .
|
- run: nix build .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -67,10 +67,10 @@ jobs:
|
||||||
Unlike `DeterminateSystems/nix-installer-action`, we fully support explicit version pinning for maximum consistency.
|
Unlike `DeterminateSystems/nix-installer-action`, we fully support explicit version pinning for maximum consistency.
|
||||||
This Action is **automatically tagged** for every Determinate Nix release, giving you complete control over your CI environment:
|
This Action is **automatically tagged** for every Determinate Nix release, giving you complete control over your CI environment:
|
||||||
|
|
||||||
📍 Pinning to `DeterminateSystems/determinate-nix-action@v3.12.1` guarantees:
|
📍 Pinning to `DeterminateSystems/determinate-nix-action@v3.11.3` guarantees:
|
||||||
|
|
||||||
- Same `nix-installer-action` revision every time
|
- Same `nix-installer-action` revision every time
|
||||||
- Consistent Determinate Nix v3.12.1 installation
|
- Consistent Determinate Nix v3.11.3 installation
|
||||||
- Reproducible CI workflows, even years later
|
- Reproducible CI workflows, even years later
|
||||||
|
|
||||||
✨ Using `@main` instead? You'll:
|
✨ Using `@main` instead? You'll:
|
||||||
|
|
@ -112,7 +112,7 @@ updates:
|
||||||
| `source-branch` | The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`) | | |
|
| `source-branch` | The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`) | | |
|
||||||
| `source-pr` | The PR of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-branch`) | | |
|
| `source-pr` | The PR of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-branch`) | | |
|
||||||
| `source-revision` | The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, `source-pr`) | | |
|
| `source-revision` | The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, `source-pr`) | | |
|
||||||
| `source-tag` | The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) | | `v3.12.1` |
|
| `source-tag` | The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) | | `v3.11.3` |
|
||||||
| `source-url` | A URL pointing to a `nix-installer` executable | | |
|
| `source-url` | A URL pointing to a `nix-installer` executable | | |
|
||||||
| `backtrace` | The setting for `RUST_BACKTRACE` (see https://doc.rust-lang.org/std/backtrace/index.html#environment-variables) | | |
|
| `backtrace` | The setting for `RUST_BACKTRACE` (see https://doc.rust-lang.org/std/backtrace/index.html#environment-variables) | | |
|
||||||
| `diagnostic-endpoint` | Diagnostic endpoint url where the installer sends data to. To disable set this to an empty string. | | `-` |
|
| `diagnostic-endpoint` | Diagnostic endpoint url where the installer sends data to. To disable set this to an empty string. | | `-` |
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
"source-tag": {
|
"source-tag": {
|
||||||
"description": "The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)",
|
"description": "The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)",
|
||||||
"required": false,
|
"required": false,
|
||||||
"default": "v3.12.1"
|
"default": "v3.11.3"
|
||||||
},
|
},
|
||||||
"source-url": {
|
"source-url": {
|
||||||
"description": "A URL pointing to a `nix-installer` executable",
|
"description": "A URL pointing to a `nix-installer` executable",
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
"using": "composite",
|
"using": "composite",
|
||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"uses": "DeterminateSystems/nix-installer-action@2fd3724578c33f9f62507d651600d52b8de3c0b9",
|
"uses": "DeterminateSystems/nix-installer-action@45a18a69953f27af3c2bfad0a5e01c38ef2da462",
|
||||||
"with": {
|
"with": {
|
||||||
"extra-conf": "${{ inputs.extra-conf }}",
|
"extra-conf": "${{ inputs.extra-conf }}",
|
||||||
"github-server-url": "${{ inputs.github-server-url }}",
|
"github-server-url": "${{ inputs.github-server-url }}",
|
||||||
|
|
|
||||||
10
flake.lock
generated
10
flake.lock
generated
|
|
@ -2,12 +2,12 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762111121,
|
"lastModified": 1759831965,
|
||||||
"narHash": "sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw=",
|
"narHash": "sha256-vgPm2xjOmKdZ0xKA6yLXPJpjOtQPHfaZDRtH+47XEBo=",
|
||||||
"rev": "b3d51a0365f6695e7dd5cdf3e180604530ed33b4",
|
"rev": "c9b6fb798541223bbb396d287d16f43520250518",
|
||||||
"revCount": 888552,
|
"revCount": 873798,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.888552%2Brev-b3d51a0365f6695e7dd5cdf3e180604530ed33b4/019a4ac5-41ea-7209-b0c4-883187b7dcdd/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.873798%2Brev-c9b6fb798541223bbb396d287d16f43520250518/0199c273-922a-7e58-9985-2e0e56e6b960/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"nix_installer_action_revision": "2fd3724578c33f9f62507d651600d52b8de3c0b9",
|
"nix_installer_action_revision": "45a18a69953f27af3c2bfad0a5e01c38ef2da462",
|
||||||
"determinate_nix_tag": "v3.12.1",
|
"determinate_nix_tag": "v3.11.3",
|
||||||
"checkout_action_tag": "v5.0.0"
|
"checkout_action_tag": "v5.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue