flake-dep-info-action
Access the fields of flake.lock
as outputs
in a GitHub action step.
inputs:
input:
required: true
description: "The flake input whose data you want to access"
lockfile:
required: false
description: "The path to the flake lock file containing locked dependencies"
default: "flake.lock"
short-rev-length:
required: false
description: "The length of the short-rev output"
default: "8"
outputs:
owner:
description: "The owner of the repository"
repo:
description: "The repository"
rev:
description: "Git revision of the dependency"
short-rev:
description: "Short git revision"