Add LFS support to the workflows.

This commit is contained in:
2025-12-19 02:15:13 +00:00
parent d03ba1085e
commit 18b88d10ed
2 changed files with 14 additions and 0 deletions
+6
View File
@@ -13,6 +13,11 @@ on:
required: false
type: number
default: 0
lfs:
description: "Enable Git LFS checkout (for repos with large files)"
required: false
type: boolean
default: false
# Caller must declare these permissions:
# permissions:
@@ -194,6 +199,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: ${{ inputs.lfs }}
- name: Run workflow prepare script
shell: bash
+8
View File
@@ -28,6 +28,11 @@ on:
required: false
type: string
default: ""
lfs:
description: "Enable Git LFS checkout (for repos with large files)"
required: false
type: boolean
default: false
outputs:
version:
description: "The calculated version (without v prefix)"
@@ -43,6 +48,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: ${{ inputs.lfs }}
- name: Run workflow prepare script
shell: bash
@@ -98,6 +105,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: ${{ inputs.lfs }}
- name: Run workflow prepare script
shell: bash