Skip to content

Commit

Permalink
Include checkout as an optional flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Oct 4, 2024
1 parent 9dc6ad5 commit 462ec2d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ inputs:
description: Use setup python to load python env.
required: false
default: 'false'
checkout:
description: Use checkout action to checkout the repository.
required: false
default: 'true'
python-version:
description: Python version to use.
required: false
Expand All @@ -60,6 +64,7 @@ runs:
using: composite
steps:
- name: Checkout Repository
if: inputs.checkout == 'true'
uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down

0 comments on commit 462ec2d

Please sign in to comment.