gha-setup-swift
gha-setup-swift copied to clipboard
A bunch of fixups of a bunch of mixups
- Use
/etc/os-releaseto check Linux versions (lsb_releaseis obsolete and not always available) - Iinstall Linux toolchain to better prefix
- Fix GHA syntax of Linux error message
- Fix
PATHspecified on Linux - Use Python 3's
plistlibinstead 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.