Skip to content

Commit

Permalink
generate installler and sign it
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomontero committed Nov 28, 2024
1 parent d8158a3 commit 8c2bd0e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/reusable-build-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
runs-on: windows-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Install NSIS
run: choco install nsis -y
- name: Download Artifact
uses: actions/download-artifact@v4
with:
Expand All @@ -103,6 +106,27 @@ jobs:
# Sign all exes inside the folder
files-folder: build
files-folder-filter: exe

- name: Generate Windows Installer
run: makensis.exe installer\windows\ParticleCLISetup.nsi

- name: Move Installer to Build Folder
run: move installer\windows\ParticleCLISetup.exe build\ParticleCLISetup.exe

- name: Sign Windows Installer
uses: azure/[email protected]
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
endpoint: ${{ secrets.AZURE_ENDPOINT }}
trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }}
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }}

# Sign all exes inside the folder
files-folder: build
files-folder-filter: exe

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 8c2bd0e

Please sign in to comment.