Use actions/checkout

This commit is contained in:
Slawomir Jaranowski
2021-08-30 08:23:28 +02:00
parent 6f35cfffb0
commit 638a374dff
2 changed files with 25 additions and 2 deletions

View File

@ -7,6 +7,11 @@ branding:
inputs:
# checkout
checkout-fetch-depth:
description: 'Number of commits to fetch'
required: false
# java jdk params
java-version:
@ -60,6 +65,14 @@ runs:
steps:
- run: echo "::group::Checkout"
shell: bash
- uses: actions/checkout@v2.3.4
with:
fetch-depth: '${{ inputs.checkout-fetch-depth }}'
- run: echo "::endgroup::"
shell: bash
- run: echo "::group::Setup Java"
shell: bash
- uses: actions/setup-java@v2.3.0