Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cpcloud/flake-dep-info-action
- Owner: cpcloud
- License: apache-2.0
- Created: 2021-11-06T11:17:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-23T20:08:58.000Z (about 1 month ago)
- Last Synced: 2024-12-28T02:04:00.005Z (27 days ago)
- Topics: actions, flakes, github-actions, nix
- Language: Nix
- Homepage:
- Size: 1.68 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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"
```