build(CI): fix build error on windows in github actions
This commit is contained in:
parent
3daefe954b
commit
f0d42bc6f5
|
@ -16,8 +16,6 @@ jobs:
|
||||||
windows:
|
windows:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
@ -261,17 +259,6 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: get deps
|
|
||||||
env:
|
|
||||||
ERL_OTP: erl23.2.2
|
|
||||||
run: |
|
|
||||||
docker run -i --rm \
|
|
||||||
-e GITHUB_RUN_ID=$GITHUB_RUN_ID \
|
|
||||||
-e GITHUB_REF=$GITHUB_REF \
|
|
||||||
-v $(pwd):/emqx \
|
|
||||||
-w /emqx \
|
|
||||||
emqx/build-env:${ERL_OTP}-alpine-amd64 \
|
|
||||||
sh -c "make deps-emqx"
|
|
||||||
- name: build emqx docker image
|
- name: build emqx docker image
|
||||||
env:
|
env:
|
||||||
ARCH: ${{ matrix.arch[0] }}
|
ARCH: ${{ matrix.arch[0] }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e -u
|
set -e -u
|
||||||
|
|
||||||
# This script prints the release version for emqx
|
# This script prints the release version for emqx
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
## This script checks style of changed files.
|
## This script checks style of changed files.
|
||||||
## Expect argument 1 to be the git compare base.
|
## Expect argument 1 to be the git compare base.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
target_files=()
|
target_files=()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue