File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 64
64
mv release/mas-universal/Redis-Insight-mac-universal-mas.pkg release/Redis-Insight-mac-universal-mas.pkg
65
65
66
66
- name : Build macos dmg (staging)
67
- # if: (vars.ENV == 'staging' || vars.ENV == 'development') && inputs.target == vars.ALL
67
+ if : (vars.ENV == 'staging' || vars.ENV == 'development') && inputs.target == vars.ALL
68
68
run : |
69
69
unset CSC_LINK
70
70
@@ -77,22 +77,22 @@ jobs:
77
77
mv release/mas-universal/Redis-Insight-mac-universal-mas.pkg release/Redis-Insight-mac-universal-mas.pkg
78
78
79
79
# handle manual builds
80
- # - name: Build macos dmg (custom)
81
- # if: inputs.target != vars.ALL
82
- # run: |
83
- # unset CSC_LINK
84
- # target=$(echo "${{inputs.target}}" | grep -oE 'build_macos_[^ ]+' | sed 's/build_macos_/dmg:/' | paste -sd ' ' -)
80
+ - name : Build macos dmg (custom)
81
+ if : inputs.target != vars.ALL
82
+ run : |
83
+ unset CSC_LINK
84
+ target=$(echo "${{inputs.target}}" | grep -oE 'build_macos_[^ ]+' | sed 's/build_macos_/dmg:/' | paste -sd ' ' -)
85
85
86
- # if [ "${{ vars.ENV == 'production' }}" == "true" ]; then
87
- # yarn package:prod --mac $target
88
- # else
89
- # yarn package:stage --mac $target
90
- # fi
86
+ if [ "${{ vars.ENV == 'production' }}" == "true" ]; then
87
+ yarn package:prod --mac $target
88
+ else
89
+ yarn package:stage --mac $target
90
+ fi
91
91
92
- # rm -rf release/mac
92
+ rm -rf release/mac
93
93
94
94
- name : Repack dmg to tar
95
- # if: vars.ENV == 'production' && inputs.target == vars.ALL
95
+ if : vars.ENV == 'production' && inputs.target == vars.ALL
96
96
run : |
97
97
ARCH=x64 ./.github/redisstack/dmg.repack.sh
98
98
ARCH=arm64 ./.github/redisstack/dmg.repack.sh
You can’t perform that action at this time.
0 commit comments