From eb897bb16b988b6b8be8a35aa33512c04b1861a9 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Thu, 23 May 2024 15:34:32 -0300 Subject: [PATCH] Add README.md example --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index b190623..73c1470 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,18 @@ jobs: path-to-flake-dir: 'nix/' # in this example our flake doesn't sit at the root of the repository, it sits under 'nix/flake.nix' ``` +You can also run the update operation in multiple directories, provide that each directory is a valid flake: + +```yaml +- name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@vX + with: + flake-dirs: | + flake1 + flake2 + flake3 +``` + ## Example using a different Git user If you want to change the author and / or committer of the flake.lock update commit, you can tweak the `git-{author,committer}-{name,email}` options: