This action is a replacement of standard github’s actions/checkout
action.
This action is implemented as composite action
, so it does not require node.js
interpreter.
The standard actions/checkout
is written in javascript
and sometimes it is not possible to have node12
injected to the container.
-
git
must be available. So, make suregit
is installed before calling this action.
- name: <name> uses: myci-actions/checkout@<version> with: submodules: <true/false>
arguments:
-
<submodules>
- Whether to clone submodules or not. Optional. Default value:true
.
Step example:
- name: checkout sources uses: myci-actions/checkout@6