ci(elixir): use `MIX_ENV` profiles for machine boot checks
With the change to using `MIX_ENV` for choosing a profile, the CI check became out of date.
This commit is contained in:
parent
7b9a600c20
commit
d93977ccd3
|
@ -13,14 +13,11 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
release_type:
|
profile:
|
||||||
- cloud
|
- emqx
|
||||||
package_type:
|
- emqx-enterprise
|
||||||
- bin
|
- emqx-pkg
|
||||||
- pkg
|
- emqx-enterprise-pkg
|
||||||
edition_type:
|
|
||||||
- community
|
|
||||||
- enterprise
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: fix_git_permission
|
- name: fix_git_permission
|
||||||
|
@ -36,11 +33,11 @@ jobs:
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
- name: check applications
|
- name: check applications
|
||||||
run: ./scripts/check-elixir-applications.exs
|
run: ./scripts/check-elixir-applications.exs
|
||||||
|
env:
|
||||||
|
MIX_ENV: ${{ matrix.profile }}
|
||||||
- name: check applications started with emqx_machine
|
- name: check applications started with emqx_machine
|
||||||
run: ./scripts/check-elixir-emqx-machine-boot-discrepancies.exs
|
run: ./scripts/check-elixir-emqx-machine-boot-discrepancies.exs
|
||||||
env:
|
env:
|
||||||
EMQX_RELEASE_TYPE: ${{ matrix.release_type }}
|
MIX_ENV: ${{ matrix.profile }}
|
||||||
EMQX_PACKAGE_TYPE: ${{ matrix.package_type }}
|
|
||||||
EMQX_EDITION_TYPE: ${{ matrix.edition_type }}
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue