cocoa-xu/Setup OpenSSL
Download and optionally install a precompiled OpenSSL for the current runner from cocoa-xu/openssl-build.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| openssl_version | OpenSSL version or requirement. An exact version (e.g. "3.6.3" or "1.1.1w") matches that release exactly; an Elixir-style requirement resolves to the highest available release that satisfies it: "~> 3" (any 3.x), "~> 3.5" (>= 3.5, < 4), ">= 3.4.0", "< 4", etc. Letter releases such as 1.1.1w must be pinned exactly. | no | — |
| openssl-version | Alias for openssl_version. | no | — |
| triplet | Override the auto-detected ARCH-OS-ABI triplet, e.g. "x86_64-linux-gnu", "aarch64-linux-musl", "arm64-apple-darwin", "shared-x86_64-windows-msvc", "x86_64-unknown-freebsd" (or a legacy "...-freebsd13" for old releases). | no | — |
| linkage | Windows only: "shared" or "static". Ignored when triplet is set or off Windows. | no | shared |
| install-dir | Directory to install (extract) OpenSSL into, or to download the archive into when download-only is true. | no | .openssl |
| add-to-path | Append the OpenSSL bin directory to PATH (via GITHUB_PATH). | no | true |
| download-only | Only download (and checksum-verify) the archive; skip extraction and environment setup. | no | false |
| repository | The openssl-build repository to download releases from. | no | cocoa-xu/openssl-build |
| token | Token used to list releases when resolving a requirement (exact versions need no token). | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| openssl-version | The concrete OpenSSL version that was resolved. |
| triplet | The ARCH-OS-ABI triplet that was used. |
| install-dir | Absolute path the archive was extracted to (install mode). |
| openssl-dir | Absolute install prefix, also exported as OPENSSL_DIR / OPENSSL_ROOT_DIR. |
| bindir | Absolute path of the OpenSSL bin directory (added to PATH). |
| libdir | Absolute path of the OpenSSL lib directory. |
| archive-path | Absolute path of the downloaded archive (download-only mode). |