Skip to content

Commit

Permalink
Allow optional code checkout (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeggies committed Jan 25, 2024
2 parents 70a1890 + a43846e commit e2c49d6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@ name: set-product-version
author: Release Engineering <rel-eng@hashicorp.com>
description: Automates setting product version

inputs:
checkout:
description: |
Check out the code repository. Can be disabled if checkout is handled by the caller workflow.
default: true

runs:
using: composite

steps:
- uses: actions/checkout@v3
- if: inputs.checkout == 'true'
uses: actions/checkout@v3
- name: Check if Version File Exists
shell: bash
env:
Expand Down

0 comments on commit e2c49d6

Please sign in to comment.