build(CI): fix build error on windows in github actions

This commit is contained in:
zhanghongtong 2021-03-03 18:27:07 +08:00 committed by Rory Z
parent 3daefe954b
commit f0d42bc6f5
7 changed files with 7 additions and 19 deletions

View File

@ -16,8 +16,6 @@ jobs:
windows:
runs-on: windows-2019
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v1
- uses: ilammy/msvc-dev-cmd@v1
@ -261,17 +259,6 @@ jobs:
steps:
- 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
env:
ARCH: ${{ matrix.arch[0] }}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -u
# This script prints the release version for emqx

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## This script checks style of changed files.
## Expect argument 1 to be the git compare base.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

View File

@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
target_files=()

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail