1
0
Fork 0
mirror of https://git.madhouse-project.org/actions/nix.git synced 2024-11-23 20:19:16 +01:00

develop: Made the run parameter optional

There's a valid use case for wanting to run `nix develop` without
executing anything: to get the dependencies installed. This way the
output of future steps will have considerably cleaner, more relevant
outputs.

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2023-09-22 21:28:07 +02:00
parent 3935dfdac3
commit 63e7eb4047
2 changed files with 7 additions and 1 deletions

View file

@ -30,3 +30,9 @@ jobs:
if [ -n "${CI}" ]; then
echo "I'm running in CI!"
fi
- name: no commands should still work
uses: ./develop
with:
flake: ./develop/test
package: "hello"

View file

@ -12,7 +12,7 @@ inputs:
required: false
run:
description: "Commands to run within the development environment"
required: true
required: false
runs:
using: "composite"
steps: