@@ -138,7 +138,7 @@ jobs:
138138 PREFIX : ${{github.workspace}}
139139 run : make -j4 -C ${{env.TOOLCHAIN_PATH}} install V=1
140140
141- - name : " [macOS install ] CodeSign Toolchain binaries"
141+ - name : " [macOS] CodeSign Toolchain binaries"
142142 if : runner.os == 'macOS'
143143 env :
144144 MACOS_CERTIFICATE : ${{ secrets.MACOS_CERTIFICATE }}
@@ -154,7 +154,7 @@ jobs:
154154 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_KEYCHAIN_PWD build.keychain
155155 /usr/bin/codesign --deep --force --verify --verbose --sign "$MACOS_CODESIGN_IDENT" --timestamp --options runtime $CEDEV_BIN/*
156156
157- - name : " [macOS install ] Create the DMG"
157+ - name : " [macOS] Create the DMG"
158158 if : runner.os == 'macOS'
159159 run : |
160160 brew install create-dmg;
@@ -172,17 +172,17 @@ jobs:
172172 "CEdev-${{runner.os}}.${{matrix.install-output-ext}}" \
173173 "${TOOLCHAIN_PATH}/resources/macOS/dmg/contents"
174174
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'))
177177178178 with :
179179 product-path : CEdev-${{runner.os}}.${{matrix.install-output-ext}}
180180 appstore-connect-username : ${{ secrets.APPLE_NOTARIZATION_USERNAME }}
181181 appstore-connect-password : ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
182182 primary-bundle-id : ' com.adriweb.CEToolchain'
183183
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'))
186186 uses :
devbotsxyz/[email protected] 187187 with :
188188 product-path : CEdev-${{runner.os}}.${{matrix.install-output-ext}}
0 commit comments