Skip to content

Commit

Permalink
set psmodulepath to fix the pwsh7.4 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Feb 12, 2024
1 parent e1fcc05 commit 7ae117d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/actions/setup_cross_ci_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def create_windows_cert_store(env, certificate_env, location_env):
# Import the PFX into the Windows Certificate Store
# (Passing '$mypwd' is required even though it is empty and our certificate has no password. It fails CI otherwise)
import_pfx_arguments = [
"$env:PSModulePath = '';",
"Import-PfxCertificate",
"-FilePath", pfx_cert_path,
"-CertStoreLocation", windows_certificate_folder]
Expand Down

0 comments on commit 7ae117d

Please sign in to comment.