-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -197,45 +197,57 @@ jobs: | |
if: ${{ matrix.name == 'macOS' }} | ||
working-directory: ${{ env.ARTIFACTS_PATH }} | ||
run: 7z a -tzip "${{ env.ARTIFACT_NAME }}.zip" "-xr!lib${{ env.PRODUCT_NAME }}_SharedCode.a" . | ||
|
||
- name: Generate Installer | ||
- name: Zip (Windows) | ||
if: ${{ matrix.name == 'Windows' }} | ||
run: | | ||
iscc "packaging\installer.iss" | ||
mv "packaging/Output/${{ env.ARTIFACT_NAME }}.exe" "${{ env.ARTIFACTS_PATH }}/" | ||
working-directory: ${{ env.ARTIFACTS_PATH }} | ||
run: 7z a -tzip "${{ env.ARTIFACT_NAME }}.zip" "-xr!lib${{ env.PRODUCT_NAME }}_SharedCode.a" . | ||
|
||
- name: Codesign with Azure Trusted Signing | ||
if: ${{ matrix.name == 'Windows' }} | ||
uses: azure/[email protected] | ||
with: | ||
# The Azure Active Directory tenant (directory) ID. | ||
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }} | ||
#- name: Generate Installer | ||
# if: ${{ matrix.name == 'Windows' }} | ||
# run: | | ||
# iscc "packaging\installer.iss" | ||
# mv "packaging/Output/${{ env.ARTIFACT_NAME }}.exe" "${{ env.ARTIFACTS_PATH }}/" | ||
|
||
# The client (application) ID of an App Registration in the tenant. | ||
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} | ||
#- name: Codesign with Azure Trusted Signing | ||
# if: ${{ matrix.name == 'Windows' }} | ||
# uses: azure/[email protected] | ||
# with: | ||
# # The Azure Active Directory tenant (directory) ID. | ||
# azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }} | ||
|
||
# # The client (application) ID of an App Registration in the tenant. | ||
# azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} | ||
|
||
# A client secret that was generated for the App Registration. | ||
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }} | ||
# # A client secret that was generated for the App Registration. | ||
# azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }} | ||
|
||
# The Code Signing Account endpoint. The URI value must have a URI that aligns to the region your Code Signing Account and Certificate Profile you are specifying were created in during the setup of these resources. | ||
endpoint: ${{ secrets.AZURE_ENDPOINT }} | ||
# # The Code Signing Account endpoint. The URI value must have a URI that aligns to the region your Code Signing Account and Certificate Profile you are specifying were created in during the setup of these resources. | ||
# endpoint: ${{ secrets.AZURE_ENDPOINT }} | ||
|
||
# The Code Signing Account name. | ||
trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }} | ||
# # The Code Signing Account name. | ||
# trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }} | ||
|
||
# The Certificate Profile name. | ||
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }} | ||
# # The Certificate Profile name. | ||
# certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }} | ||
|
||
# This signs all exes inside the folder | ||
files-folder: ${{ env.ARTIFACTS_PATH }} | ||
files-folder-filter: exe | ||
# # This signs all exes inside the folder | ||
# files-folder: ${{ env.ARTIFACTS_PATH }} | ||
# files-folder-filter: exe | ||
|
||
- name: Upload Exe (Windows) | ||
#- name: Upload Exe (Windows) | ||
# if: ${{ matrix.name == 'Windows' }} | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: ${{ env.ARTIFACT_NAME }}.exe | ||
# path: "${{ env.ARTIFACTS_PATH }}/${{ env.ARTIFACT_NAME }}.exe" | ||
|
||
- name: Upload Zip (Windows) | ||
if: ${{ matrix.name == 'Windows' }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACT_NAME }}.exe | ||
path: "${{ env.ARTIFACTS_PATH }}/${{ env.ARTIFACT_NAME }}.exe" | ||
name: ${{ env.ARTIFACT_NAME }}.zip | ||
path: "${{ env.ARTIFACTS_PATH }}/${{ env.ARTIFACT_NAME }}.zip" | ||
|
||
- name: Upload Zip (Linux) | ||
if: ${{ matrix.name == 'Linux' }} | ||
|
@@ -275,5 +287,4 @@ jobs: | |
files: | | ||
*/*.exe | ||
*/*.zip | ||
*/*.app | ||
#*/*.dmg | ||
*/*.dmg |