mirror of
https://github.com/DeterminateSystems/ci.git
synced 2025-05-17 16:19:08 +02:00
Allow specifying custom reference for flake-iter
This commit is contained in:
parent
c7bcdb4d0b
commit
03ba6c9701
1 changed files with 8 additions and 1 deletions
9
.github/workflows/workflow.yml
vendored
9
.github/workflows/workflow.yml
vendored
|
@ -30,6 +30,12 @@ on:
|
|||
required: false
|
||||
default: true
|
||||
type: boolean
|
||||
flake-iter-flakeref:
|
||||
description: |
|
||||
Flake reference to use for the flake-iter process. Useful for pinning to specific versions should standards require it. Defaults to the latest release available on FlakeHub.
|
||||
type: string
|
||||
required: false
|
||||
default: https://flakehub.com/f/DeterminateSystems/flake-iter/*
|
||||
runner-map:
|
||||
description: |
|
||||
A custom mapping of [Nix system types](https://zero-to-nix.com/concepts/system-specificity) to desired Actions runners
|
||||
|
@ -130,8 +136,9 @@ jobs:
|
|||
- name: Build for ${{ matrix.systems.nix-system }}
|
||||
env:
|
||||
FLAKE_ITER_NIX_SYSTEM: ${{ matrix.systems.nix-system }}
|
||||
FLAKE_ITER_FLAKEREF: ${{ inputs.flake-iter-flakeref }}
|
||||
working-directory: ${{ inputs.directory }}
|
||||
run: nix run 'https://flakehub.com/f/DeterminateSystems/flake-iter/*' -- --verbose build
|
||||
run: nix run "$FLAKE_ITER_FLAKEREF" -- --verbose build
|
||||
|
||||
success:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Reference in a new issue