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:
Thales Macedo Garitezi 2022-05-26 14:40:35 -03:00
parent 7b9a600c20
commit d93977ccd3
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
1 changed files with 8 additions and 11 deletions

View File

@ -13,14 +13,11 @@ jobs:
strategy:
fail-fast: false
matrix:
release_type:
- cloud
package_type:
- bin
- pkg
edition_type:
- community
- enterprise
profile:
- emqx
- emqx-enterprise
- emqx-pkg
- emqx-enterprise-pkg
steps:
- name: fix_git_permission
@ -36,11 +33,11 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: check applications
run: ./scripts/check-elixir-applications.exs
env:
MIX_ENV: ${{ matrix.profile }}
- name: check applications started with emqx_machine
run: ./scripts/check-elixir-emqx-machine-boot-discrepancies.exs
env:
EMQX_RELEASE_TYPE: ${{ matrix.release_type }}
EMQX_PACKAGE_TYPE: ${{ matrix.package_type }}
EMQX_EDITION_TYPE: ${{ matrix.edition_type }}
MIX_ENV: ${{ matrix.profile }}
...