Skip to content

Commit

Permalink
feat: allow skipping the checkout step (#61)
Browse files Browse the repository at this point in the history
* feat: allow skipping the checkout step

* docs: minor phrasing changes

---------

Co-authored-by: xyny <[email protected]>
  • Loading branch information
dkolb and xynydev authored Nov 5, 2024
1 parent 3157677 commit b032506
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -122,6 +129,7 @@ runs:

# clones user's repo
- uses: actions/checkout@v4
if: ${{ inputs.skip_checkout == 'false' }}

- name: Determine Vars
id: build_vars
Expand Down

0 comments on commit b032506

Please sign in to comment.