Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
archive

GitHub Action

Checkout submodule

v1.0.0

Checkout submodule

archive

Checkout submodule

Checkout submodule

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Checkout submodule

uses: Mushus/[email protected]

Learn more about this action in Mushus/checkout-submodule

Choose a version

checkout-submodule

This Action makes checkout private submodule simply

Usage

Checkout submodule foo

- use: Mushus/[email protected]
  with:
    submodulePath: ./foo

Checkout submodule bar with deploy key DEPLOY_KEY_BAR

- use: Mushus/[email protected]
  with:
    submodulePath: ./bar
    identifier: ${{ secret.DEPLOY_KEY_BAR }}

identifier is a identifier file contents

Checkout submodule foo in repository bar

- use: Mushus/[email protected]
  with:
    basePath: ./bar
    submodulePath: ./foo