|
21 | 21 | # 4. <MacOS 14 with arm64 arch, Release, Clang 15 compiler toolchain |
22 | 22 | # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the list. |
23 | 23 | matrix: |
24 | | - os: [windows-2022, ubuntu-22.04, macos-14, macos-15-intel] |
| 24 | + # os: [windows-2022, ubuntu-22.04, macos-14, macos-15-intel] |
| 25 | + os: [windows-2022] |
25 | 26 |
|
26 | 27 | steps: |
27 | 28 | - name: Checkout EasyImaginApp |
|
95 | 96 | run: | |
96 | 97 | ${{env.IQTA_TOOLS}}/QtInstallerFramework/4.7/bin/binarycreator -c config/config.xml -p packages ${{runner.os}}-${{runner.arch}}_EasyImaging_Installer |
97 | 98 |
|
| 99 | + - name: Install DigiCert Client tools from Github Custom Actions marketplace |
| 100 | + if: runner.os == 'windows' |
| 101 | + |
| 102 | + |
| 103 | + - name: Set up P12 certificate |
| 104 | + if: runner.os == 'windows' |
| 105 | + shell: bash |
| 106 | + run: echo "${{ secrets.WINDOWS_CERT_DATA }}" | base64 --decode > /d/Certificate_pkcs12.p12 |
| 107 | + |
| 108 | + - name: Set keylocker variables |
| 109 | + if: runner.os == 'windows' |
| 110 | + shell: bash |
| 111 | + run: | |
| 112 | + echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT |
| 113 | + echo "SM_HOST=${{ secrets.KEYLOCKER_HOST }}" >> "$GITHUB_ENV" |
| 114 | + echo "SM_API_KEY=${{ secrets.KEYLOCKER_API_KEY }}" >> "$GITHUB_ENV" |
| 115 | + echo "SM_CLIENT_CERT_FILE=D:\\Certificate_pkcs12.p12" >> "$GITHUB_ENV" |
| 116 | + echo "SM_CLIENT_CERT_PASSWORD=${{ secrets.WINDOWS_CERT_PASSWORD }}" >> "$GITHUB_ENV" |
| 117 | +
|
| 118 | + - name: Sign the binary using keypair alias |
| 119 | + if: runner.os == 'windows' |
| 120 | + shell: cmd |
| 121 | + run: smctl sign --keypair-alias key_911959544 --input imaging-app\Installer\*EasyImaging_Installer.exe |
| 122 | + |
98 | 123 | - name: Upload installers |
99 | 124 | uses: actions/upload-artifact@master |
100 | 125 | with: |
|
0 commit comments