Skip to content

Commit

Permalink
submodule as string
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 authored Jan 16, 2025
1 parent 5b329fd commit 860113d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ on:
description: Use caching mechanism for a given language
submodules:
required: false
type: boolean
default: false
description: True to initialize git submodules
type: string
default: ''
description: True or Recursive to initialize git submodules

# Permissions needed
# permissions:
Expand All @@ -86,7 +86,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: ${{ inputs.submodules }}
token: ${{ inputs.submodules && secrets.REPO_PRIVATE_READ_PAT || github.token }}
token: ${{ inputs.submodules != '' && secrets.REPO_PRIVATE_READ_PAT || github.token }}
- name: Run pre-build
run: |
if test -f "Makefile"; then
Expand Down

0 comments on commit 860113d

Please sign in to comment.