Skip to content

Commit

Permalink
fixed notarization test
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Hannah committed Jul 19, 2024
1 parent 5dcbb67 commit 4641545
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/mac_codesign_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
distribution: 'adopt'
cache: maven

- name: Install MacOS Certificates
uses: apple-actions/import-codesign-certs@v1
with:
p12-file-base64: ${{ secrets.MACOS_CERTIFICATE }}
p12-password: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}

- name: Test Mac
env:
JDEPLOY_MAC_NOTARIZATION_PASSWORD: ${{ secrets.JDEPLOY_MAC_TEST_NOTARIZATION_PASSWORD }}
Expand Down
5 changes: 0 additions & 5 deletions tests/projects/TextEditorCodesign/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ if [ "$(uname)" != "Darwin" ]; then
exit 0
fi

if [ -z "$JDEPLOY_MAC_APP_BUNDLE_ID" ]; then
echo "Skipping test because JDEPLOY_MAC_APP_BUNDLE_ID environment variable is not set"
exit 0
fi

if [ -z "$JDEPLOY_MAC_NOTARIZATION_PASSWORD" ]; then
echo "Skipping test because JDEPLOY_MAC_NOTARIZATION_PASSWORD environment variable is not set"
exit 0
Expand Down

0 comments on commit 4641545

Please sign in to comment.