()
| 20 | return classpath_separator.join(entries) |
| 21 | |
| 22 | def parse_ref() -> str: |
| 23 | ref = get_arg("ref") or os.getenv('GITHUB_REF') |
| 24 | if ref and ref.startswith('refs/tags/'): |
| 25 | return ref[len('refs/tags/'):] |
| 26 | |
| 27 | def parse_sha() -> str: |
| 28 | sha = get_arg("sha") or os.getenv('GITHUB_SHA') |