From 2f70448a693cc88e83a83569dcf86be735fc60b3 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 10 Jul 2024 17:18:41 -0700 Subject: Another fix in macos release script. (#4603) * Another fix in macos release script. * Fix. --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b964c1697..cd5d79836 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,12 +134,11 @@ jobs: ) for b in "${binaries[@]}"; do if [[ -f "$b" ]]; then - 7z a "slang-macos-dist.zip" "${existing_files[@]}" + 7z a "slang-macos-dist.zip" "$b" fi done timeout 1000 gon ./extras/macos-notarize.json - cp slang-macos-dist.zip "slang-macos-dist-${{matrix.platform}}.zip" echo "SLANG_NOTARIZED_DIST=slang-macos-dist-${{matrix.platform}}.zip" >> $GITHUB_OUTPUT @@ -175,3 +174,7 @@ jobs: ${{ steps.notarize.outputs.SLANG_NOTARIZED_DIST }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Notarize + run : | + timeout 1000 gon ./extras/macos-notarize.json -- cgit v1.2.3