Skip to content

Commit

Permalink
Fixing yml issues
Browse files Browse the repository at this point in the history
Changing variable access
Changing pfx path
  • Loading branch information
amd989 committed May 6, 2015
1 parent 7b1387e commit 986a876
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ environment:
secure: mE14bVstcTzbnTIXdgPeDA==
before_build:
- ps: $psw = ConvertTo-SecureString -String $env:pfx_password -AsPlainText -Force
- ps: Import-PfxCertificate -FilePath .\Symlinker\key.pfx -CertStoreLocation cert:\CurrentUser\My -Password $psw
- ps: $root = $env:APPVEYOR_BUILD_FOLDER
- ps: Import-PfxCertificate -FilePath '$root\Symlink Creator\key.pfx' -CertStoreLocation cert:\CurrentUser\My -Password $psw
build_script:
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Publish /p:ApplicationVersion={%APPVEYOR_BUILD_VERSION%}
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Publish /p:ApplicationVersion=%APPVEYOR_BUILD_VERSION%
after_build:
- ps: $root = Resolve-Path .\MyApp\bin\Debug\app.publish; [IO.Directory]::GetFiles($root.Path, '*.*', 'AllDirectories') | % { Push-AppveyorArtifact $_ -FileName $_.Substring($root.Path.Length + 1) -DeploymentName to-publish }
- ps: $root = Resolve-Path '.\Symlink Creator\bin\Debug\app.publish'; [IO.Directory]::GetFiles($root.Path, '*.*', 'AllDirectories') | % { Push-AppveyorArtifact $_ -FileName $_.Substring($root.Path.Length + 1) -DeploymentName to-publish }

0 comments on commit 986a876

Please sign in to comment.