Skip to content

Commit 89e4629

Browse files
committed
More flexibility since tags between erlang OCI and setup-beam don't
match
1 parent 22e4853 commit 89e4629

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/oci-make.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ on:
2121
# also used in the setup-beam step (same tag should work for both)
2222
description: OTP version (eg. `26`, `26.2.5.6`)
2323
default: 27
24+
otp_build_version:
25+
# OTP to compile RabbitMQ with; needs to match what setup-beam expects
26+
description: OTP build version
27+
default: 27
2428
build_arm:
2529
description: Build for ARM64 as well?
2630
type: boolean
@@ -37,6 +41,8 @@ jobs:
3741
matrix:
3842
otp_version:
3943
- ${{ github.event.inputs.otp_version || '27' }}
44+
otp_build_version:
45+
- ${{ github.event.inputs.otp_build_version || '27' }}
4046
runs-on: ubuntu-latest
4147
outputs:
4248
authorized: ${{ steps.authorized.outputs.authorized }}
@@ -56,7 +62,8 @@ jobs:
5662
if: steps.authorized.outputs.authorized == 'true'
5763
uses: erlef/setup-beam@v1
5864
with:
59-
otp-version: ${{ matrix.otp_version }}
65+
otp-version: ${{ matrix.otp_build_version }}
66+
version-type: strict
6067
elixir-version: latest
6168
- name: make package-generic-unix
6269
if: steps.authorized.outputs.authorized == 'true'

0 commit comments

Comments
 (0)