Skip to content

Update/Add Git LFS for ubuntu-slim runners #13377

@Cheesebaron

Description

@Cheesebaron

Tool name

Git LFS

Tool license

MIT

Add or update?

  • Add
  • Update

Desired version

3.7.1

Approximate size

No response

Brief description of tool

GitHub actions checkout step fails if you set lfs: true like:

- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
  with:
    lfs: true

With error:

  Error: Unable to locate executable file: git-lfs. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

URL for tool's homepage

https://github.com/git-lfs/git-lfs

Provide a basic test case to validate the tool's functionality.

name: Checkout

on:
  workflow_dispatch:

jobs:
  # Build job
  build:
    runs-on: ubuntu-slim
    steps:
    - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
      with:
        lfs: true

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu Slim
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Can this tool be installed during the build?

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions