gha-setup-swift
gha-setup-swift copied to clipboard
A bunch of fixups of a bunch of mixups
- Use
/etc/os-release
to check Linux versions (lsb_release
is obsolete and not always available) - Iinstall Linux toolchain to better prefix
- Fix GHA syntax of Linux error message
- Fix
PATH
specified on Linux - Use Python 3's
plistlib
instead ofplutil(1)
to get toolchain bundle identifier on macOS becauseplutil(1)
is dangerous and likes to silently overwrite files (and also XPath is just crass).
I don't 100% promise this all works correctly.