From b032506226a640040c6fef03d004757d4b3b2184 Mon Sep 17 00:00:00 2001 From: David Kolb Date: Tue, 5 Nov 2024 01:53:23 -0500 Subject: [PATCH] feat: allow skipping the checkout step (#61) * feat: allow skipping the checkout step * docs: minor phrasing changes --------- Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com> --- action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/action.yml b/action.yml index ed9ec05..55b6cfc 100644 --- a/action.yml +++ b/action.yml @@ -78,6 +78,13 @@ inputs: For example, setting this to `./abc/` would cause for the recipe to be read from `./abc/recipes/recipe.yml`. required: false default: ./ + skip_checkout: + description: | + Set to true to skip doing the actions/checkout step. + This allows you to checkout manually before calling bluebuild/github-action + and to modify files (such as supplying build information to other scripts) before building. + required: false + default: 'false' runs: using: "composite" @@ -122,6 +129,7 @@ runs: # clones user's repo - uses: actions/checkout@v4 + if: ${{ inputs.skip_checkout == 'false' }} - name: Determine Vars id: build_vars