chore(CI): fix skip test for slim build on enterprise repo

This commit is contained in:
zhanghongtong 2021-03-31 23:45:10 +08:00 committed by tigercl
parent e3c2461e54
commit eb56e5462d
1 changed files with 5 additions and 3 deletions

View File

@ -20,16 +20,18 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: build packages
- name: prepare
run: |
if make emqx-ee --dry-run > /dev/null 2>&1; then
echo "https://ci%40emqx.io:${{ secrets.CI_GIT_TOKEN }}@github.com" > $HOME/.git-credentials
git config --global credential.helper store
echo "${{ secrets.CI_GIT_TOKEN }}" >> ./scripts/git-token
make emqx-ee-pkg
echo "EMQX_NAME=emqx-ee" >> $GITHUB_ENV
else
make emqx-pkg
echo "EMQX_NAME=emqx" >> $GITHUB_ENV
fi
- name: build packages
run: make ${EMQX_NAME}-pkg
- name: pakcages test
run: |
export CODE_PATH=$GITHUB_WORKSPACE