nix-develop/action.yml
Nick Novitski f33559582d fix: Pass arguments
The INPUTS_* environment variables are not present in composite actions.
A flag interface seems more intuitive for local testing too.
2023-10-19 10:13:44 -07:00

11 lines
351 B
YAML

name: nix-develop-action
description: Use nix development environments correctly with GitHub Actions
inputs:
arguments:
description: Additional arguments to pass to the `nix develop` command
required: false
runs:
using: "composite"
steps:
- shell: bash
run: ${{ github.action_path }}/nix-develop-gha.sh ${{ inputs.arguments }}