Skip to content

Commit

Permalink
Fix maint/master build
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Aug 5, 2024
1 parent 2c78467 commit 692647d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: "Build OTP macOS ${{ matrix.arch }}"
name: "Build OTP macOS ${{ inputs.otp-ref-name }} ${{ matrix.arch }}"
if: github.event.inputs
runs-on: macos-latest
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion priv/scripts/otp/build_otp_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ build_otp() {
local src_dir=/tmp/builds/src-otp-${ref_name}
local test_cmd="erl -noshell -eval 'io:format(\"~s~s~n\", [erlang:system_info(system_version), erlang:system_info(system_architecture)]), ok = crypto:start(), io:format(\"crypto ok~n\"), halt().'"

if [[ "$ref_name" == *maint-* || "$ref_name" == *master* ]]; then
if [[ "$ref_name" == *maint-* || "$ref_name" == maint || "$ref_name" == master ]]; then
rm -rf ${rel_dir} ${src_dir}
fi

Expand Down

0 comments on commit 692647d

Please sign in to comment.