chore: add checkout-ssh-key as input to allow git commits after the checkout

This commit is contained in:
Afonso Vilela
2024-08-04 10:59:13 +01:00
parent 2f53a7669c
commit 2059bfe2f2
2 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,10 @@ inputs:
required: false
default: ${{ github.token }}
checkout-ssh-key:
description: 'SSH key used to fetch the repository. It allows to run authenticated git commands'
required: false
# java jdk params
java-version:
@ -110,6 +114,7 @@ runs:
ref: '${{ inputs.checkout-ref }}'
repository: '${{ inputs.checkout-repository }}'
token: '${{ inputs.checkout-token }}'
ssh-key: '${{ inputs.checkout-ssh-key }}'
- uses: actions/setup-java@v4
with: