Skip to content

Commit

Permalink
platform
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Mar 12, 2024
1 parent 9f69a1c commit 9508749
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .tools/boilercv_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ def sync():
Path(PYPROJECT).write_text(encoding="utf-8", data=content)


match platform(terse=True).casefold().split("-")[0]:
PLATFORM = platform(terse=True).casefold().split("-")[0]

print(f"⚠️ {PLATFORM}") # noqa: T201

match PLATFORM:
case "macos":
RUNNER = "macos-12"
case "windows":
Expand Down

0 comments on commit 9508749

Please sign in to comment.