Skip to content

Commit

Permalink
optional checkout step (#5)
Browse files Browse the repository at this point in the history
Usually the checkout happens in the origin action. We don't need to checkout twice, but we want to do the checkout when needed.
  • Loading branch information
azisaka authored Jan 23, 2025
1 parent bd86be1 commit f91b9e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,16 @@ inputs:
description: "The version of Deno to install"
required: false
default: "v1.x"
checkout:
description: "When true the repository clone will be done by the action. default: true"
required: false
default: "true"
runs:
using: "composite"
steps:
- name: Clone repository
uses: actions/checkout@v3
if: ${{ inputs.checkout == 'true' }}

- name: Install Deno
uses: denoland/setup-deno@v1
Expand Down

0 comments on commit f91b9e7

Please sign in to comment.