Skip to content

Commit

Permalink
ci: Resolve path correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrieseberg committed Dec 24, 2018
1 parent 13c9217 commit 0fced3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ install:
# Setup the code signing certificate
- ps: >-
if (Test-Path Env:\WINDOWS_CERTIFICATE_P12) {
$filename = Convert-Path .\cert.p12
$workingDirectory = Convert-Path (Resolve-Path -path ".")
$filename = "$workingDirectory\cert.p12"
$bytes = [Convert]::FromBase64String($env:WINDOWS_CERTIFICATE_P12)
[IO.File]::WriteAllBytes($filename, $bytes)
}
Expand Down

0 comments on commit 0fced3a

Please sign in to comment.