Skip to content

Commit

Permalink
wip: azure sign action
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Jan 21, 2025
1 parent b8510fd commit 55068e1
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/Build-and-deploy-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
- name: Install package.json modules and their dependencies
run: npm install --ignore-scripts

- name: Build the app for Windows
run: npm run build-win

- name: Sign files with Trusted Signing
uses: azure/[email protected]
with:
Expand All @@ -52,14 +55,16 @@ jobs:
endpoint: https://eus.codesigning.azure.net/
trusted-signing-account-name: fdih-signing-account
certificate-profile-name: california-medical-innovations-institute
files-folder: ${{ github.workspace }}\App\App\bin\Release\net8.0-windows
files-folder: ${{ github.workspace }}\dist\win-unpacked\soda-for-sparc.exe
files-folder-filter: exe,dll
file-digest: SHA256
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256

- name: Deploy the app to GitHubWh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run deploy-win
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ github.workspace }}\dist\win-unpacked\soda-for-sparc.exe
asset_name: soda-for-sparc.exe
asset_content_type: application/octet-stream

0 comments on commit 55068e1

Please sign in to comment.