Skip to content

Commit 4762ba6

Browse files
feat(ci): add rebar3-version input to elixir-ci-reusable (hex-cert bypass) (#415)
Optional rebar3-version input wired to setup-beam: installs rebar3 from GitHub releases instead of builds.hex.pm (OTP TLS key_usage_mismatch). Empty default = no change for existing callers. REQUIRED — bofig#107 already passes this input, so the reusable must declare it. actionlint clean.
1 parent 59429dc commit 4762ba6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/elixir-ci-reusable.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ on:
7373
type: string
7474
required: false
7575
default: "1.17"
76+
rebar3-version:
77+
description: >-
78+
rebar3 version for erlef/setup-beam. When set, setup-beam installs
79+
rebar3 from GitHub releases instead of letting `mix local.rebar`
80+
fetch it from builds.hex.pm — a workaround for the OTP TLS
81+
`key_usage_mismatch` cert error on that host. Empty = unchanged.
82+
type: string
83+
required: false
84+
default: ""
7685
enable_dialyzer:
7786
description: Run `mix dialyzer` (slow cold-cache; off by default)
7887
type: boolean
@@ -152,6 +161,7 @@ jobs:
152161
with:
153162
otp-version: ${{ inputs.otp-version }}
154163
elixir-version: ${{ inputs.elixir-version }}
164+
rebar3-version: ${{ inputs.rebar3-version }}
155165

156166
- name: Cache deps
157167
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5

0 commit comments

Comments
 (0)