diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 65bbe8542..e54cd5c92 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -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] }} diff --git a/pkg-vsn.sh b/pkg-vsn.sh index 01b58e3a5..0c1c0cb33 100755 --- a/pkg-vsn.sh +++ b/pkg-vsn.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e -u # This script prints the release version for emqx diff --git a/scripts/elvis-check.sh b/scripts/elvis-check.sh index fe4fa2190..e77e6a785 100755 --- a/scripts/elvis-check.sh +++ b/scripts/elvis-check.sh @@ -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. diff --git a/scripts/ensure-rebar3.sh b/scripts/ensure-rebar3.sh index 5612beab4..e19af1283 100755 --- a/scripts/ensure-rebar3.sh +++ b/scripts/ensure-rebar3.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/scripts/get-dashboard.sh b/scripts/get-dashboard.sh index 3e47490b0..c6fc9d448 100755 --- a/scripts/get-dashboard.sh +++ b/scripts/get-dashboard.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/scripts/shellcheck.sh b/scripts/shellcheck.sh index eebf9049a..5f8cdfd51 100755 --- a/scripts/shellcheck.sh +++ b/scripts/shellcheck.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + set -euo pipefail target_files=() diff --git a/scripts/start-two-nodes-in-docker.sh b/scripts/start-two-nodes-in-docker.sh index 45307ba7f..e0526c26f 100755 --- a/scripts/start-two-nodes-in-docker.sh +++ b/scripts/start-two-nodes-in-docker.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail