Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cpcloud/flake-dep-info-action

Access flake input information.
https://github.com/cpcloud/flake-dep-info-action

actions flakes github-actions nix

Last synced: 21 days ago
JSON representation

Access flake input information.

Awesome Lists containing this project

README

        

# `flake-dep-info-action`

Access the fields of `flake.lock` as `outputs` in a GitHub action step.

## Inputs

```yaml
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

```yaml
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"
```