Skip to content

Push-AppveyorArtifact doesn't work with PowerShell Core #2183

@JustArchi

Description

@JustArchi
The term 'Push-AppveyorArtifact' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\appveyor\AppData\Local\Temp\1\qjreu7wb1k.ps1:53 char:1
+ Get-Job | Receive-Job -AutoRemoveJob -Wait
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Push-AppveyorArtifact:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
+ PSComputerName        : localhost
 
Command exited with code 1

The same config works fine under ps, but not pwsh.

Ref: https://ci.appveyor.com/project/JustArchi/archisteamfarm/build/5133-master-osslgfoo/job/kl5oy8rc2h8yc18s#L273

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions