Skip to content

Commit

Permalink
Fix certificate import.
Browse files Browse the repository at this point in the history
  • Loading branch information
VPKSoft committed Sep 15, 2024
1 parent c90e1da commit ffcde9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main-lint-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ jobs:
Invoke-WebRequest https://github.com/VPKSoftOrg/FileToVariables/releases/latest/download/FileToVariables-x86_64-pc-windows-gnu.zip -OutFile C:\signing\win_exe.zip
Expand-Archive C:\signing\win_exe.zip C:\signing
C:\signing\FileToVariables.exe --file C:\signing\windows.cer --var-format "WIN_CERT{i}" read
$params = @{
CertFilePath = 'C:\signing\windows.cer'
CertStoreLocation = 'Cert:\CurrentUser\My'
}
Import-Certificate $params
Set-Location -Path Cert:\CurrentUser\My
Import-Certificate -Filepath "C:\signing\windows.cer"
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-24.04'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ jobs:
Invoke-WebRequest https://github.com/VPKSoftOrg/FileToVariables/releases/latest/download/FileToVariables-x86_64-pc-windows-gnu.zip -OutFile C:\signing\win_exe.zip
Expand-Archive C:\signing\win_exe.zip C:\signing
C:\signing\FileToVariables.exe --file C:\signing\windows.cer --var-format "WIN_CERT{i}" read
$params = @{
CertFilePath = 'C:\signing\windows.cer'
CertStoreLocation = 'Cert:\CurrentUser\My'
}
Import-Certificate @params
Set-Location -Path Cert:\CurrentUser\My
Import-Certificate -Filepath "C:\signing\windows.cer"
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-24.04'
run: |
Expand Down

0 comments on commit ffcde9e

Please sign in to comment.