ci: fix matrix dimensions in build_packages
This commit is contained in:
parent
654a9dcab5
commit
7a78df1660
|
@ -194,11 +194,13 @@ jobs:
|
||||||
- 5.1-0
|
- 5.1-0
|
||||||
elixir:
|
elixir:
|
||||||
- 1.14.5
|
- 1.14.5
|
||||||
|
with_elixir:
|
||||||
|
- 'no'
|
||||||
exclude:
|
exclude:
|
||||||
- arch: arm64
|
- arch: arm64
|
||||||
build_machine: ubuntu-22.04
|
build_machine: ubuntu-22.04
|
||||||
- arch: amd64
|
- arch: amd64
|
||||||
build_machine: aws-arm64
|
build_machine: aws-arm64
|
||||||
include:
|
include:
|
||||||
- profile: emqx
|
- profile: emqx
|
||||||
otp: 25.3.2-1
|
otp: 25.3.2-1
|
||||||
|
@ -207,7 +209,7 @@ jobs:
|
||||||
build_machine: ubuntu-22.04
|
build_machine: ubuntu-22.04
|
||||||
builder: 5.1-0
|
builder: 5.1-0
|
||||||
elixir: 1.14.5
|
elixir: 1.14.5
|
||||||
release_with: elixir
|
with_elixir: 'yes'
|
||||||
- profile: emqx
|
- profile: emqx
|
||||||
otp: 25.3.2-1
|
otp: 25.3.2-1
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
@ -215,7 +217,7 @@ jobs:
|
||||||
build_machine: ubuntu-22.04
|
build_machine: ubuntu-22.04
|
||||||
builder: 5.1-0
|
builder: 5.1-0
|
||||||
elixir: 1.14.5
|
elixir: 1.14.5
|
||||||
release_with: elixir
|
with_elixir: 'yes'
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
@ -245,12 +247,9 @@ jobs:
|
||||||
fi
|
fi
|
||||||
echo "pwd is $PWD"
|
echo "pwd is $PWD"
|
||||||
PKGTYPES="tgz pkg"
|
PKGTYPES="tgz pkg"
|
||||||
IS_ELIXIR="no"
|
IS_ELIXIR=${{ matrix.with_elixir }}
|
||||||
WITH_ELIXIR=${{ matrix.release_with }}
|
if [ "${IS_ELIXIR:-}" == 'yes' ]; then
|
||||||
if [ "${WITH_ELIXIR:-}" == 'elixir' ]; then
|
|
||||||
PKGTYPES="tgz"
|
PKGTYPES="tgz"
|
||||||
# set Elixir build flag
|
|
||||||
IS_ELIXIR="yes"
|
|
||||||
fi
|
fi
|
||||||
for PKGTYPE in ${PKGTYPES};
|
for PKGTYPE in ${PKGTYPES};
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue