-
Notifications
You must be signed in to change notification settings - Fork 19
34 lines (28 loc) · 1015 Bytes
/
mac_codesign_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test Mac Notarization
on:
push:
branches: [ master ]
jobs:
test-notarize-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
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 }}
JDEPLOY_MAC_DEVELOPER_ID: ${{ secrets.APPLE_ID }}
JDEPLOY_MAC_DEVELOPER_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
JDEPLOY_MAC_DEVELOPER_CERTIFICATE_NAME: ${{ secrets.DEVELOPER_ID_CERTIFICATE_NAME }}
JDEPLOY_TEST_CERTIFICATE_NAME: ${{ secrets.DEVELOPER_ID_CERTIFICATE_NAME }}
run: bash build_and_test.sh