Use the variable to skip the checkout

This commit is contained in:
Takashi Kokubun 2023-10-13 16:33:07 -07:00
parent 9d6ff9c175
commit 82c8f22a36

View File

@ -75,7 +75,8 @@ runs:
git config --global advice.detachedHead 0
git config --global init.defaultBranch garbage
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- if: inputs.checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
path: ${{ inputs.srcdir }}