GHA: debug failed codesign command
This commit is contained in:
@@ -16,7 +16,10 @@ mkdir ${dir}/${destination_folder_name}
|
||||
tar -zxf $file --directory ${dir}/${destination_folder_name}
|
||||
echo "Successfully extracted ${filename}"
|
||||
echo "About to sign OSX .app file: ${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
|
||||
ls ${dir}/${destination_folder_name}
|
||||
echo "keychain ${KEYCHAIN}"
|
||||
echo "entitlements ${entitlements}"
|
||||
codesign --verbose --deep --force --timestamp --entitlements "${entitlements}" --options=runtime --keychain "${KEYCHAIN}" -s "${MACOS_CERTIFICATE_ID}" ${dir}/${destination_folder_name}/SpringToolSuite4.app
|
||||
|
||||
cd ${dir}/${destination_folder_name}
|
||||
echo "Generating dmg-config.json..."
|
||||
|
||||
@@ -186,6 +186,7 @@ jobs:
|
||||
MACOS_CERTIFICATE_ID: ${{ secrets.MACOS_CERTIFICATE_ID }}
|
||||
run: |
|
||||
KEYCHAIN=$RUNNER_TEMP/app-signing.keychain-db
|
||||
ls ${{ github.workspace }}/.github/assets
|
||||
files=`ls spring-tool-suite-4*macosx*.tar.gz`
|
||||
for file in $files
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user