@@ -138,7 +138,7 @@ jobs:
138
138
PREFIX : ${{github.workspace}}
139
139
run : make -j4 -C ${{env.TOOLCHAIN_PATH}} install V=1
140
140
141
- - name : " [macOS install ] CodeSign Toolchain binaries"
141
+ - name : " [macOS] CodeSign Toolchain binaries"
142
142
if : runner.os == 'macOS'
143
143
env :
144
144
MACOS_CERTIFICATE : ${{ secrets.MACOS_CERTIFICATE }}
@@ -154,7 +154,7 @@ jobs:
154
154
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_KEYCHAIN_PWD build.keychain
155
155
/usr/bin/codesign --deep --force --verify --verbose --sign "$MACOS_CODESIGN_IDENT" --timestamp --options runtime $CEDEV_BIN/*
156
156
157
- - name : " [macOS install ] Create the DMG"
157
+ - name : " [macOS] Create the DMG"
158
158
if : runner.os == 'macOS'
159
159
run : |
160
160
brew install create-dmg;
@@ -172,17 +172,17 @@ jobs:
172
172
"CEdev-${{runner.os}}.${{matrix.install-output-ext}}" \
173
173
"${TOOLCHAIN_PATH}/resources/macOS/dmg/contents"
174
174
175
- - name : " [macOS install ] Notarize DMG (master branch push only) "
176
- if : runner.os == 'macOS' && github.event_name == 'push' && github.ref == 'refs/heads/master'
175
+ - name : " [macOS] Notarize DMG"
176
+ if : runner.os == 'macOS' && github.event_name == 'push' && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v'))
177
177
178
178
with :
179
179
product-path : CEdev-${{runner.os}}.${{matrix.install-output-ext}}
180
180
appstore-connect-username : ${{ secrets.APPLE_NOTARIZATION_USERNAME }}
181
181
appstore-connect-password : ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
182
182
primary-bundle-id : ' com.adriweb.CEToolchain'
183
183
184
- - name : " [macOS install ] Staple DMG (master branch push only) "
185
- if : runner.os == 'macOS' && github.event_name == 'push' && github.ref == 'refs/heads/master'
184
+ - name : " [macOS] Staple DMG"
185
+ if : runner.os == 'macOS' && github.event_name == 'push' && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v'))
186
186
uses :
devbotsxyz/[email protected]
187
187
with :
188
188
product-path : CEdev-${{runner.os}}.${{matrix.install-output-ext}}
0 commit comments