The Case Sensitivity of the GitHub Actions Runner

The case-sensitivity between the GitHub Actions runner and your local environment is sometimes different

Lastmod: 2021-06-15

View Source Edit
The case-sensitivity between the GitHub Actions runner and your local environment is sometimes different

The Problem

Bug: Couldn’t open SUMMARY.md · Issue #36 · peaceiris/actions-mdbook

mdBook can recognize SUMMARY.md but cannot summary.md on a GitHub Actions runner (Ubuntu VM).

On the other hand, both SUMMARY.md and summary.md are acceptable on my local macOS machine.

The Reason

The case-sensitivity between the GitHub Actions runner and my local environment was different.

My local macOS machine has been formatted with case-insensitive mode, so the local building has passed and the remote building failed.

  • GitHub Actions Ubuntu: Case sensitive
  • My local macOS PC: Case insensitive

Can we select case-sensitivity of the GitHub Actions VM?

No.

MacOSX images with case sensitive APFS filesystem · Issue #865 · actions/virtual-environments

We can’t offer another image at this time since it would affect overall capacity of Mac and be costly to maintain.


Random Recommended Posts