From fe787cec4c07e86f9ee512b3585420905c0a5710 Mon Sep 17 00:00:00 2001 From: aboyko Date: Fri, 6 Sep 2024 10:23:55 -0400 Subject: [PATCH] Fix check notarization workflow --- .github/scripts/sign-osx-distro-file.sh | 3 +++ .github/workflows/check-notarization.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/scripts/sign-osx-distro-file.sh b/.github/scripts/sign-osx-distro-file.sh index dc01ad6aae..97054db7c5 100755 --- a/.github/scripts/sign-osx-distro-file.sh +++ b/.github/scripts/sign-osx-distro-file.sh @@ -77,6 +77,9 @@ done # sign libsnappyjava.jnilib inside snappy-java.jar signExecutableInsideJar ".*/snappy-java.*\.jar$" "libsnappyjava.jnilib" ".*/libsnappyjava\.jnilib$" +# sign libjnidispatch.jnilib.jnilib inside jna.jar +signExecutableInsideJar ".*/jna-\d+.*\.jar$" "libjnidispatch.jnilib.jnilib" ".*/libjnidispatch\.jnilib$" + # Sign the app ls -la ${dir}/${destination_folder_name}/SpringToolSuite4.app/ codesign --verbose --deep --force --timestamp --entitlements "${entitlements}" --options=runtime --keychain "${KEYCHAIN}" -s "${MACOS_CERTIFICATE_ID}" ${dir}/${destination_folder_name}/SpringToolSuite4.app diff --git a/.github/workflows/check-notarization.yml b/.github/workflows/check-notarization.yml index 4c0c4f2586..91800df6d0 100644 --- a/.github/workflows/check-notarization.yml +++ b/.github/workflows/check-notarization.yml @@ -15,4 +15,4 @@ jobs: steps: - name: Notarization Logs run: | - xcrun notarytool log ${{ inputs.id }} --apple-id ${{ secrets.AC_USERNAME }} --team-id ${{ secrets.APPLE_TEAM_ID }} --password ${{ secrets.AC_PASSWORD }} + xcrun notarytool log ${{ inputs.id }} --apple-id ${{ secrets.VMWARE_APPLE_USER }} --team-id ${{ secrets.VMWARE_APPLE_TEAM_ID }} --password ${{ secrets.VMWARE_APPLE_PASSWORD }}