-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare migration of code signing to certum
- Loading branch information
1 parent
33a675f
commit 2a0757d
Showing
2 changed files
with
3 additions
and
9 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 |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
name: Build Desktop App | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
os: [ubuntu-latest, macos-latest, windows-signing] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -88,20 +88,14 @@ jobs: | |
- name: Setup MSbuild | ||
if: matrix.os == 'windows-latest' | ||
uses: microsoft/[email protected] | ||
- name: Create Code Signing Certificate | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
New-Item -ItemType directory -Path certificate | ||
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.WINDOWS_CERTIFICATE }}' | ||
certutil -decode certificate\certificate.txt certificate\certificate.pfx | ||
- name: Build MSIX | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
& 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/makeappx.exe' pack /d app/desktop/build/msix-workspace /p Tonbrett.msix | ||
- name: Code Sign 2021 | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
& 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x86/signtool.exe' sign /fd SHA256 /f certificate\certificate.pfx /p '${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}' /t http://timestamp.sectigo.com/ /d Tonbrett Tonbrett.msix | ||
& 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x86/signtool.exe' sign /fd SHA256 /n "Open Source Developer, Michael Rittmeister" /t http://time.certum.pl/ /d Tonbrett Tonbrett.msix | ||
- name: Notarize MacOS installer | ||
#if: matrix.os == 'macos-latest' | ||
# waiting for https://github.com/JetBrains/compose-multiplatform/issues/3208 | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"> | ||
<!-- DO NOT EDIT THIS VERSION IT IS UPDATED AUTOMATICALLY --> | ||
<Identity Name="dev.schlaubi.Tonbrett" Version="0.0.0.0" Publisher="CN=Michael Rittmeister, O=Michael Rittmeister, S=Bayern, C=DE" ProcessorArchitecture="x64" /> | ||
<Identity Name="dev.schlaubi.Tonbrett" Version="0.0.0.0" Publisher="[email protected], CN="Open Source Developer, Michael Rittmeister", O=Open Source Developer, L=Gauting, S=Bavaria, C=DE" ProcessorArchitecture="x64" /> | ||
<Properties> | ||
<DisplayName>Tonbrett</DisplayName> | ||
<PublisherDisplayName>Schlaubi</PublisherDisplayName> | ||
|