mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2024-11-23 12:09: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:
parent
3935dfdac3
commit
63e7eb4047
2 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -12,7 +12,7 @@ inputs:
|
|||
required: false
|
||||
run:
|
||||
description: "Commands to run within the development environment"
|
||||
required: true
|
||||
required: false
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue