Skip to content

Commit 5ad1461

Browse files
committed
Build and sign macOS, try 199
1 parent 0266712 commit 5ad1461

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/macos-compile-installer-sign-release.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
mv LingTreeSigned.dmg ../LingTreeSigned.dmg
229229
cd ..
230230
echo sign dmg
231-
codesign --deep --force --sign "${{ vars.SIL_APPLE_CODESIGN_IDENTITY }}" --timestamp --options runtime LingTreeSigned.dmg -v
231+
codesign --deep --force --sign "${{ vars.SIL_APPLE_CODESIGN_IDENTITY }}" --timestamp --options runtime LingTree-1.6.2.dmg -v
232232
#echo rename to include version number
233233
#mv LingTreeSigned.dmg LingTree-${{ env.VERSION }}.dmg
234234
#echo time stamp for signed dmg:
@@ -237,7 +237,7 @@ jobs:
237237
# Verify the signature
238238
- name: Verify signature
239239
run: |
240-
codesign --verify --verbose LingTreeSigned.dmg
240+
codesign --verify --verbose LingTree-1.6.2.dmg
241241
242242
# # Clean up keychain
243243
# - name: Clean up keychain
@@ -249,7 +249,7 @@ jobs:
249249
- name: Notarize DMG
250250
uses: lando/notarize-action@v2
251251
with:
252-
product-path: LingTreeSigned.dmg
252+
product-path: LingTree-1.6.2.dmg
253253
appstore-connect-username: ${{ secrets.SIL_APPLE_NOTARIZATION_USERNAME }}
254254
appstore-connect-password: ${{ secrets.SIL_APPLE_NOTARIZATION_PASSWORD }}
255255
appstore-connect-team-id: "3YE4W86L3G"
@@ -260,13 +260,13 @@ jobs:
260260
- name: Staple Notarization Ticket
261261
run: |
262262
#echo time stamp for stapling
263-
#ls -l LingTreeSigned.dmg
263+
#ls -l LingTree-1.6.2.dmg
264264
#echo before stapling
265-
xcrun stapler staple LingTreeSigned.dmg
265+
xcrun stapler staple LingTree-1.6.2.dmg
266266
#echo after stapling
267267
#ls -l LingTreeSigned.dmg
268268
echo rename to include version number
269-
cp LingTreeSigned.dmg LingTree-${{ env.VERSION }}.dmg
269+
#cp LingTreeSigned.dmg LingTree-${{ env.VERSION }}.dmg
270270
271271
# - name: Create Release
272272
# uses: softprops/action-gh-release@v2
@@ -283,6 +283,12 @@ jobs:
283283
#path: LingTree-*.dmg
284284
if-no-files-found: error
285285

286+
- uses: actions/upload-artifact@v4
287+
with:
288+
name: LingTreeApp
289+
path: LingTree.App
290+
#path: LingTree-*.dmg
291+
if-no-files-found: error
286292

287293
create-release:
288294
name: Create Release

0 commit comments

Comments
 (0)