Merge pull request #9174 from emqx/1019-fix-ci-workflow
1019 fix ci workflow
This commit is contained in:
commit
3c1608f883
|
@ -35,6 +35,8 @@ runs:
|
||||||
with:
|
with:
|
||||||
path: ~/.kerl/${{ inputs.otp }}
|
path: ~/.kerl/${{ inputs.otp }}
|
||||||
key: otp-install-${{ inputs.otp }}-${{ inputs.os }}-static-ssl-disable-hipe-disable-jit
|
key: otp-install-${{ inputs.otp }}-${{ inputs.os }}-static-ssl-disable-hipe-disable-jit
|
||||||
|
restore-keys: |
|
||||||
|
otp-install-${{ inputs.otp }}-${{ inputs.os }}
|
||||||
- name: build erlang
|
- name: build erlang
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -93,4 +95,5 @@ runs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
# test with a spaces in path
|
||||||
rm -rf "emqx home"
|
rm -rf "emqx home"
|
||||||
|
|
|
@ -31,9 +31,8 @@ jobs:
|
||||||
path: source
|
path: source
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- id: detect-profiles
|
- id: detect-profiles
|
||||||
uses: ./.github/actions/detect-profiles
|
uses: ./source/.github/actions/detect-profiles
|
||||||
with:
|
with:
|
||||||
path: source
|
|
||||||
ci_git_token: ${{ secrets.CI_GIT_TOKEN }}
|
ci_git_token: ${{ secrets.CI_GIT_TOKEN }}
|
||||||
- name: get_all_deps
|
- name: get_all_deps
|
||||||
if: endsWith(github.repository, 'emqx')
|
if: endsWith(github.repository, 'emqx')
|
||||||
|
|
|
@ -18,8 +18,7 @@ jobs:
|
||||||
path: source
|
path: source
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- id: detect-profiles
|
- id: detect-profiles
|
||||||
working-directory: source
|
uses: ./source/.github/actions/detect-profiles
|
||||||
uses: ./.github/actions/detect-profiles
|
|
||||||
with:
|
with:
|
||||||
ci_git_token: ${{ secrets.CI_GIT_TOKEN }}
|
ci_git_token: ${{ secrets.CI_GIT_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue