From 57377d1e2d161b3d62de4b230cde64a6d154403b Mon Sep 17 00:00:00 2001 From: TaYaKi71751 Date: Tue, 1 Oct 2024 01:06:59 +0900 Subject: [PATCH] Add whoami groups --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbe87f6..cb7c985 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,9 +13,10 @@ jobs: uses: subosito/flutter-action@main - name: Build run: | + whoami /groups mkdir Cert New-SelfSignedCertificate -Type Custom -Subject "CN=Contoso Software, O=Contoso Corporation, C=US" -KeyUsage DigitalSignature -FriendlyName "TaYaKi71751" -CertStoreLocation ".\Cert" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}") - Export-PfxCertificate -cert ".\Cert" -FilePath .\Cert\test_certificate.pfx -ProtectTo $(whoami /groups) + Export-PfxCertificate -cert ".\Cert" -FilePath .\Cert\test_certificate.pfx -ProtectTo Administrator flutter build windows flutter pub run msix:create --certificate-path test_certificate.pfx - name: Save build Artifact