gha-setup-swift
gha-setup-swift copied to clipboard
Setup Swift (on Windows) on GitHub Actions Builders
Use /etc/os-release for identifying the Linux distribution rather than `lsb_release`. Co-Authored-By: Gwynne Raskind
https://github.com/kelvin13/swift-json/blob/master/.github/workflows/build.yml#L38 as an example
- 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 -...
If I give a tag name, what is the branch name used for (and vice-versa)? Either one uniquely identifies a release. Please clarify in the README.
This method of getting `TOOLCHAINS` set up is obviously too fragile and hacky in the long run, but seems to be working for now. Please squash-merge
[This run](https://github.com/hylo-lang/Swifty-LLVM/actions/runs/8207602540/workflow) demonstrates. Follow the link to the workflow file if you need to reproduce elsewhere. Maybe you could use this as a unit test case for this action.