diff --git a/Makefile b/Makefile index 462955c..5e1b6da 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,8 @@ else ifeq ($(origin GITHUB_RUN_NUMBER), environment) BUILD_NUM ?= gh$(GITHUB_RUN_NUMBER) else ifeq ($(origin CI_PIPELINE_IID), environment) BUILD_NUM ?= gl$(CI_PIPELINE_IID) +else ifeq ($(origin CM_BUILD_ID), environment) + BUILD_NUM ?= cm$(PROJECT_BUILD_NUMBER) endif export TZ=Asia/Shanghai diff --git a/codemagic.yaml b/codemagic.yaml index a4d6726..381b5f9 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -1,6 +1,6 @@ workflows: build-nb1: - name: nb1 m1 build + name: build mac m1 instance_type: mac_mini_m1 max_build_duration: 10 triggering: @@ -18,7 +18,6 @@ workflows: environment: xcode: 14.3 vars: - GO_VERSION: "1.18.10" OSEXT: "macos_m1" scripts: - name: Go Check